autotests/integration: fix xdg shell test
It made now-invalid assumptions about how the active output is decided
This commit is contained in:
parent
354a71855e
commit
55e5d50074
1 changed files with 2 additions and 0 deletions
|
@ -2873,6 +2873,7 @@ void TestXdgShellWindowRules::testScreenRemember()
|
||||||
|
|
||||||
// Close and reopen the window.
|
// Close and reopen the window.
|
||||||
destroyTestWindow();
|
destroyTestWindow();
|
||||||
|
workspace()->setActiveOutput(outputs.at(0));
|
||||||
createTestWindow();
|
createTestWindow();
|
||||||
|
|
||||||
QEXPECT_FAIL("", "Applying a screen rule on a new client fails on Wayland", Continue);
|
QEXPECT_FAIL("", "Applying a screen rule on a new client fails on Wayland", Continue);
|
||||||
|
@ -2963,6 +2964,7 @@ void TestXdgShellWindowRules::testScreenForceTemporarily()
|
||||||
|
|
||||||
// Close and reopen the window.
|
// Close and reopen the window.
|
||||||
destroyTestWindow();
|
destroyTestWindow();
|
||||||
|
workspace()->setActiveOutput(outputs.at(0));
|
||||||
createTestWindow();
|
createTestWindow();
|
||||||
|
|
||||||
// The rule should be discarded now
|
// The rule should be discarded now
|
||||||
|
|
Loading…
Reference in a new issue