[autotests/integration] Some more changes to try to make InternalWindowTest pass again
This commit is contained in:
parent
6af0cc6ebe
commit
0b475c50d2
1 changed files with 2 additions and 4 deletions
|
@ -338,6 +338,7 @@ void InternalWindowTest::testKeyboard()
|
|||
auto c = Test::renderAndWaitForShown(surface.data(), QSize(100, 50), Qt::blue);
|
||||
QVERIFY(c);
|
||||
QVERIFY(c->isActive());
|
||||
QVERIFY(!c->isInternal());
|
||||
|
||||
if (enteredSpy.isEmpty()) {
|
||||
QVERIFY(enteredSpy.wait());
|
||||
|
@ -347,10 +348,7 @@ void InternalWindowTest::testKeyboard()
|
|||
QSignalSpy windowShownSpy(internalClient, &ShellClient::windowShown);
|
||||
QVERIFY(windowShownSpy.isValid());
|
||||
win.show();
|
||||
if (windowShownSpy.isEmpty()) {
|
||||
QVERIFY(windowShownSpy.wait());
|
||||
}
|
||||
QCOMPARE(windowShownSpy.count(), 1);
|
||||
QTRY_COMPARE(windowShownSpy.count(), 1);
|
||||
QVERIFY(leftSpy.isEmpty());
|
||||
QVERIFY(!leftSpy.wait(100));
|
||||
|
||||
|
|
Loading…
Reference in a new issue