diff --git a/autotests/integration/effects/slidingpopups_test.cpp b/autotests/integration/effects/slidingpopups_test.cpp index 5652183c4c..3437a6a3b1 100644 --- a/autotests/integration/effects/slidingpopups_test.cpp +++ b/autotests/integration/effects/slidingpopups_test.cpp @@ -170,6 +170,10 @@ void SlidingPopupsTest::testWithOtherEffect() QVERIFY(!slidingPoupus->isActive()); QVERIFY(!otherEffect->isActive()); + + // give the compositor some time to render + QTest::qWait(50); + QSignalSpy windowAddedSpy(effects, &EffectsHandler::windowAdded); QVERIFY(windowAddedSpy.isValid());