diff --git a/crates/komorebi-protocol/src/types.rs b/crates/komorebi-protocol/src/types.rs index 5071d97d..0ad5c280 100644 --- a/crates/komorebi-protocol/src/types.rs +++ b/crates/komorebi-protocol/src/types.rs @@ -98,8 +98,14 @@ pub enum ApplicationIdentifier { Exe, // the description is part of the checked-in schemas, which differ per platform #[cfg_attr(target_os = "windows", doc = " Class")] - #[cfg_attr(target_os = "macos", doc = " Accessibility subrole or role, such as AXStandardWindow")] - #[cfg_attr(not(any(target_os = "windows", target_os = "macos")), doc = " Role or subrole")] + #[cfg_attr( + target_os = "macos", + doc = " Accessibility subrole or role, such as AXStandardWindow" + )] + #[cfg_attr( + not(any(target_os = "windows", target_os = "macos")), + doc = " Role or subrole" + )] #[serde(alias = "class")] Class, #[serde(alias = "title")] diff --git a/e2e/platforms/tart_macos/run.py b/e2e/platforms/tart_macos/run.py index 89961ad4..c6651977 100644 --- a/e2e/platforms/tart_macos/run.py +++ b/e2e/platforms/tart_macos/run.py @@ -72,10 +72,6 @@ DIFFERENCES = { "so there is no fullscreen window for it to leave alone; the test window's borderless " "stand-in is tiled like any window" ), - "margins": ( - "the daemon tiles 10 px below the top of the work area the system reports and 12 px above " - "its bottom, so a vertical mirror is a few pixels off" - ), } # the checks of a scenario that are about one of them, by a part of their description; the others @@ -91,10 +87,6 @@ KNOWN_CHECKS = { "it does not take the window out of fullscreen": "fullscreen", "not on any other window": "fullscreen", }, - "layout_flip": { - "BSP, 3 windows, layout_flip Vertical: ... each where the mirror of its place is": "margins", - "BSP, 3 windows, layout_flip HorizontalAndVertical: ... each where the mirror of its place is": "margins", - }, } KNOWN_CHECKS = { scenario: {key: DIFFERENCES[name] for key, name in marks.items()}