[autotests/integration] Try to fix InternalWindowTest::testKeyboard
It fails on build.kde.org, but failing condition is not reproducable locally.
This commit is contained in:
parent
06d562a5ba
commit
0eecb202e2
1 changed files with 3 additions and 0 deletions
|
@ -342,6 +342,9 @@ void InternalWindowTest::testKeyboard()
|
||||||
QSignalSpy windowShownSpy(internalClient, &ShellClient::windowShown);
|
QSignalSpy windowShownSpy(internalClient, &ShellClient::windowShown);
|
||||||
QVERIFY(windowShownSpy.isValid());
|
QVERIFY(windowShownSpy.isValid());
|
||||||
win.show();
|
win.show();
|
||||||
|
if (windowShownSpy.isEmpty()) {
|
||||||
|
QVERIFY(windowShownSpy.wait());
|
||||||
|
}
|
||||||
QCOMPARE(windowShownSpy.count(), 1);
|
QCOMPARE(windowShownSpy.count(), 1);
|
||||||
QVERIFY(leftSpy.isEmpty());
|
QVERIFY(leftSpy.isEmpty());
|
||||||
QVERIFY(!leftSpy.wait(100));
|
QVERIFY(!leftSpy.wait(100));
|
||||||
|
|
Loading…
Reference in a new issue