Commit 69b7b523 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

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.
parent f6c2861b
...@@ -457,6 +457,7 @@ void MoveResizeWindowTest::testGrowShrink() ...@@ -457,6 +457,7 @@ void MoveResizeWindowTest::testGrowShrink()
QVERIFY(surfaceConfigureRequestedSpy.isValid()); QVERIFY(surfaceConfigureRequestedSpy.isValid());
// let's render // let's render
auto c = Test::renderAndWaitForShown(, QSize(100, 50), Qt::blue); auto c = Test::renderAndWaitForShown(, QSize(100, 50), Qt::blue);
QCOMPARE(workspace()->activeClient(), c); QCOMPARE(workspace()->activeClient(), c);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment