Fix for PlasmaSurfaceTest broken in a3b50500
TestPanelWindowsCanCover now needs to wait for the event queue to process the hover event.
This commit is contained in:
parent
1dbe3708f5
commit
6f53f62741
1 changed files with 1 additions and 0 deletions
|
@ -370,6 +370,7 @@ void PlasmaSurfaceTest::testPanelWindowsCanCover()
|
||||||
// trigger screenedge
|
// trigger screenedge
|
||||||
QFETCH(QPoint, triggerPoint);
|
QFETCH(QPoint, triggerPoint);
|
||||||
KWin::Cursors::self()->mouse()->setPos(triggerPoint);
|
KWin::Cursors::self()->mouse()->setPos(triggerPoint);
|
||||||
|
QVERIFY(stackingOrderChangedSpy.wait());
|
||||||
QCOMPARE(stackingOrderChangedSpy.count(), 1);
|
QCOMPARE(stackingOrderChangedSpy.count(), 1);
|
||||||
stackingOrder = workspace()->stackingOrder();
|
stackingOrder = workspace()->stackingOrder();
|
||||||
QCOMPARE(stackingOrder.count(), 2);
|
QCOMPARE(stackingOrder.count(), 2);
|
||||||
|
|
Loading…
Reference in a new issue