diff --git a/autotests/integration/decoration_input_test.cpp b/autotests/integration/decoration_input_test.cpp index dd2d9f0830..9e465fcf4d 100644 --- a/autotests/integration/decoration_input_test.cpp +++ b/autotests/integration/decoration_input_test.cpp @@ -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());