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

[autotests] Fix decoration input test

QTRY_COMPARE doesn't work well with how we do our wayland event

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() ...@@ -764,7 +764,7 @@ void DecorationInputTest::testTooltipDoesntEatKeyEvents()
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());
Supports Markdown
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