[autotests] Fix decoration input test
QTRY_COMPARE doesn't work well with how we do our wayland event dispatching. We know the client hasn't processed any events yet, so we can safely do a normal wait.
This commit is contained in:
parent
71ce1f7a5b
commit
30f9e2a570
1 changed files with 1 additions and 1 deletions
|
@ -764,7 +764,7 @@ void DecorationInputTest::testTooltipDoesntEatKeyEvents()
|
||||||
QVERIFY(c);
|
QVERIFY(c);
|
||||||
QVERIFY(c->isDecorated());
|
QVERIFY(c->isDecorated());
|
||||||
QVERIFY(!c->noBorder());
|
QVERIFY(!c->noBorder());
|
||||||
QTRY_COMPARE(enteredSpy.count(), 1);
|
QVERIFY(enteredSpy.wait());
|
||||||
|
|
||||||
QSignalSpy keyEvent(keyboard, &KWayland::Client::Keyboard::keyChanged);
|
QSignalSpy keyEvent(keyboard, &KWayland::Client::Keyboard::keyChanged);
|
||||||
QVERIFY(keyEvent.isValid());
|
QVERIFY(keyEvent.isValid());
|
||||||
|
|
Loading…
Reference in a new issue