test(e2e): drop the known failures of layout_flip on macOS

The mirror checks were not off because the daemon tiles asymmetrically: the
agent read a stale work area (see the previous revision). With the displays
read fresh, layout_flip passes 62 of 62 without the marks, on five runs.
This commit is contained in:
LGUG2Z committed 2026-11-06 15:18:25 -08:00
1 parent fb5f23a67a
commit e0ffc1992d
2 files changed
+8 -10

No files matched your search

+8 -2
View File
@@ -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")]
-8
View File
@@ -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()}