mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 05:12:28 +01:00
feat(e2e): sync the neutral core from kfde 06c2b6e2
This commit is contained in:
1 parent
e20e02bd12
commit
8c990e4e1d
1 file changed
+11
-1
@@ -72,5 +72,15 @@ def run(platform: Platform, checks: Checks) -> None:
|
||||
)
|
||||
|
||||
platform.komorebic("clear-all-workspace-rules")
|
||||
for client in (once, always, ignored):
|
||||
platform.komorebic("focus-workspace", "0")
|
||||
# the title is the window's name here, so the first window of it goes before the next opens
|
||||
platform.close(once)
|
||||
platform.wait_for(lambda: platform.os_window(once) is None, timeout=20)
|
||||
later = platform.spawn("sent-once")
|
||||
checks.check(
|
||||
"once the rules are cleared, a window they matched stays on the workspace in view",
|
||||
platform.wait_for(lambda: _on(platform, "sent-once") == 0, timeout=20)
|
||||
and not platform.wait_for(lambda: _on(platform, "sent-once") != 0, timeout=3),
|
||||
)
|
||||
for client in (always, ignored, later):
|
||||
platform.close(client)
|
||||
Reference in new issue
Block a user