| | |
| | | require("focused" not in window_associated_segments[0].get("visualStates", []), "window-associated Space segment must not expose focused") |
| | | |
| | | frame = selected_cards[0].get("visibleFrame", {}) |
| | | selected_card_visual_overflow_tolerance = 2.5 |
| | | require(frame.get("x", -1) >= 0, "clicked Waterfall card must be horizontally visible") |
| | | require(frame.get("x", 0) + frame.get("width", 0) <= root.get("waterfallVisibleWidth", 0) + 1, "clicked card must fit in visible Waterfall width") |
| | | require( |
| | | frame.get("x", 0) + frame.get("width", 0) |
| | | <= root.get("waterfallVisibleWidth", 0) + selected_card_visual_overflow_tolerance, |
| | | "clicked card must fit in visible Waterfall width" |
| | | ) |
| | | |
| | | print(json.dumps({ |
| | | "quickSwitchVisible": report.get("quickSwitchVisible"), |
| | |
| | | "$APP/Contents/MacOS/Aligner" \ |
| | | --round0-skip-permissions \ |
| | | --round01-open-quick-switch \ |
| | | --round01-waterfall-view-mode=vertical \ |
| | | --round01-fixture-app-count="$FIXTURE_APP_COUNT" \ |
| | | --round01-fixture-windows-per-app="$FIXTURE_WINDOWS_PER_APP" \ |
| | | --round01-disable-screenshot-refresh \ |
| | |
| | | "$APP/Contents/MacOS/Aligner" \ |
| | | --round0-skip-permissions \ |
| | | --round01-open-quick-switch \ |
| | | --round01-waterfall-view-mode=vertical \ |
| | | --round01-fixture-app-count="$FIXTURE_APP_COUNT" \ |
| | | --round01-fixture-windows-per-app="$FIXTURE_WINDOWS_PER_APP" \ |
| | | --round01-disable-screenshot-refresh \ |