mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-02 05:04:19 +01:00
feat(nix): the stacks scenario, and Platform.hidden
hidden says that a window exists but the daemon has put it away: the others of a stack, here, and later those of another workspace or behind a monocle. It is a window on the parking desktop on KDE and will be a cloaked one on Windows. scenarios.stacks stacks the focused window onto its neighbor, cycles the stack, checks that the window in view has the focus and fills the tile the first had, and takes the stack apart. The scenario's fake daemon now models stacks. Running it on KDE found a bug in Snapshot: focused_title took the first window of the focused container, and a stack's focused window is the one its ring names. Snapshot keeps that index now. core-e2e runs the scenario after the others: 98 checks pass on KVM.
This commit is contained in:
1 parent
c861f4f789
commit
0f73ba3a55
10 files changed
+188
-26
No files matched your search
@@ -150,10 +150,10 @@ the run.
|
||||
ports' serializers; recorded states replace them once a run on each port
|
||||
exists.
|
||||
- `Platform` (`core/platform.py`) is what a scenario needs of a platform: start the
|
||||
daemon, run `komorebic`, read the `Snapshot`, open a window, ask the operating
|
||||
daemon, run `komorebic`, read the `Snapshot`, open a window, ask whether the daemon put it away (`hidden`), ask the operating
|
||||
system for its frame (`os_window`, the oracle: the daemon's state is the thing
|
||||
under test), and take a screenshot. `core/scenarios` has the scenarios written
|
||||
against it: `tiling`, `focus` and `moving`, which `core-e2e` runs on KDE and which
|
||||
against it: `tiling`, `focus`, `moving` and `stacks`, which `core-e2e` runs on KDE and which
|
||||
scenarios of kfw's suite can run unchanged. A method is added with the first scenario
|
||||
that needs it. `KdePlatform` (`kde_platform.py`) is a `Kde` session as a
|
||||
`Platform`, and the `core-e2e` suite runs `tiling` through it after its own
|
||||
|
||||
Reference in new issue
Block a user