Commit 3f13a493 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[autotests] Destroy main window in ToplevelOpenCloseAnimationTest::testDontAnimatePopups

Summary: Be nice and destroy all created windows in testDontAnimatePopups.

Test Plan: The test still passes.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18037
parent d2882762
......@@ -208,6 +208,10 @@ void ToplevelOpenCloseAnimationTest::testDontAnimatePopups()
popupSurface.reset();
QVERIFY(popupClosedSpy.wait());
QVERIFY(!effect->isActive());
// Destroy the main window.
mainWindowSurface.reset();
QVERIFY(Test::waitForWindowDestroyed(mainWindow));
}
WAYLANDTEST_MAIN(ToplevelOpenCloseAnimationTest)
......
Markdown is supported
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