Commit 6f53f627 authored by Andreas Haratzis's avatar Andreas Haratzis Committed by Vlad Zahorodnii
Browse files

Fix for PlasmaSurfaceTest broken in a3b50500

TestPanelWindowsCanCover now needs to wait for the event queue to process the hover event.
parent 1dbe3708
......@@ -370,6 +370,7 @@ void PlasmaSurfaceTest::testPanelWindowsCanCover()
// trigger screenedge
QFETCH(QPoint, triggerPoint);
KWin::Cursors::self()->mouse()->setPos(triggerPoint);
QVERIFY(stackingOrderChangedSpy.wait());
QCOMPARE(stackingOrderChangedSpy.count(), 1);
stackingOrder = workspace()->stackingOrder();
QCOMPARE(stackingOrder.count(), 2);
......
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