Commit 30f9e2a5 authored by David Edmundson's avatar David Edmundson

[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.
parent 71ce1f7a
......@@ -764,7 +764,7 @@ void DecorationInputTest::testTooltipDoesntEatKeyEvents()
QVERIFY(c);
QVERIFY(c->isDecorated());
QVERIFY(!c->noBorder());
QTRY_COMPARE(enteredSpy.count(), 1);
QVERIFY(enteredSpy.wait());
QSignalSpy keyEvent(keyboard, &KWayland::Client::Keyboard::keyChanged);
QVERIFY(keyEvent.isValid());
......
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