diff --git a/autotests/test_screen_edges.cpp b/autotests/test_screen_edges.cpp index 039393728b..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); @@ -688,6 +689,7 @@ void TestScreenEdges::testFullScreenBlocking() QCOMPARE(Cursor::pos(), QPoint(1, 50)); // let's make the client fullscreen again, but with a geometry not intersecting the left edge + QTest::qWait(351); client.setFullScreen(true); client.setGeometry(client.geometry().translated(10, 0)); emit s->checkBlocking();