Commit 0eecb202 authored by Martin Flöser's avatar Martin Flöser
Browse files

[autotests/integration] Try to fix InternalWindowTest::testKeyboard

It fails on, but failing condition is not reproducable
parent 06d562a5
...@@ -342,6 +342,9 @@ void InternalWindowTest::testKeyboard() ...@@ -342,6 +342,9 @@ void InternalWindowTest::testKeyboard()
QSignalSpy windowShownSpy(internalClient, &ShellClient::windowShown); QSignalSpy windowShownSpy(internalClient, &ShellClient::windowShown);
QVERIFY(windowShownSpy.isValid()); QVERIFY(windowShownSpy.isValid());;;
if (windowShownSpy.isEmpty()) {
QCOMPARE(windowShownSpy.count(), 1); QCOMPARE(windowShownSpy.count(), 1);
QVERIFY(leftSpy.isEmpty()); QVERIFY(leftSpy.isEmpty());
QVERIFY(!leftSpy.wait(100)); QVERIFY(!leftSpy.wait(100));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment