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.
This commit is contained in:
Aleix Pol 2021-05-11 19:32:24 +02:00 committed by Aleix Pol Gonzalez
parent f6c2861b73
commit 69b7b523f8

View file

@ -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);