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:
parent
f6c2861b73
commit
69b7b523f8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue