diff --git a/autotests/test_screen_edges.cpp b/autotests/test_screen_edges.cpp index 3b6b1c5270..2e3a2f7d83 100644 --- a/autotests/test_screen_edges.cpp +++ b/autotests/test_screen_edges.cpp @@ -477,7 +477,7 @@ void TestScreenEdges::testCallback() QCOMPARE(Cursor::pos(), QPoint(1, 101)); // now let's try to trigger again - QTest::qWait(100); + QTest::qWait(351); setPos(QPoint(0, 100)); event.time = QDateTime::currentMSecsSinceEpoch(); QVERIFY(s->isEntered(&event)); @@ -507,6 +507,7 @@ void TestScreenEdges::testCallback() s->setConfig(config); s->reconfigure(); // it should trigger directly + QTest::qWait(350); event.time = QDateTime::currentMSecsSinceEpoch(); QVERIFY(s->isEntered(&event)); QCOMPARE(spy.count(), 3);