From 69b7b523f8b94216fabe8082483a5697f1b18cb6 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 11 May 2021 19:32:24 +0200 Subject: [PATCH] Make MoveResizeWindowTest::testGrowShrink more reliable We need to make sure that the information from toplevelConfigureRequestedSpy is in place to be used, otherwise we get an empty size and it doesn't work. --- autotests/integration/move_resize_window_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/autotests/integration/move_resize_window_test.cpp b/autotests/integration/move_resize_window_test.cpp index 1e17f6371d..16ac32915a 100644 --- a/autotests/integration/move_resize_window_test.cpp +++ b/autotests/integration/move_resize_window_test.cpp @@ -457,6 +457,7 @@ void MoveResizeWindowTest::testGrowShrink() QVERIFY(surfaceConfigureRequestedSpy.isValid()); // let's render auto c = Test::renderAndWaitForShown(surface.data(), QSize(100, 50), Qt::blue); + QVERIFY(toplevelConfigureRequestedSpy.wait()); QVERIFY(c); QCOMPARE(workspace()->activeClient(), c);