mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 22:58:34 +01:00
A scenario drives the daemon and looks at the desktop only through a Platform: start the daemon, komorebic, state as a Snapshot, spawn a window, os_window (the OS's own account of its frame, which is the oracle: the daemon's state is what is under test), work_area, activate and screenshot. Only what a scenario uses is there; a method is added with the first scenario that needs it. scenarios.tiling opens windows and checks, against the OS's frames, that each is where the layout says, inside the work area and clear of the others. Its tests run it against a fake platform that tiles correctly and against two that do not.