From 2233c58e59d259eb096f901470ce208d723d1f17 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Mon, 23 Nov 2026 11:11:16 +0000 Subject: [PATCH] test(e2e): follow the Match view and its face buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 78f2fec added Match to the Tasks views and an aria-hidden face inside a labelled Match button. The views probe expects Match, the unlabelled probe judges the nearest owner that is not aria-hidden, and the gaps sweep counts a cut only on an axis whose overflow clips. ๐ŸŽฏ Fix: 88 % ๐Ÿ’ฅ Break: 1 % ๐Ÿ’ธ Tokens: โ€“ โฑ๏ธ Velocity: โ€“ ๐Ÿ›ก๏ธ Security: 100 % ๐Ÿ† Score: 87 ๐Ÿšฆ Gate: โ›” fix 88 % < 90 Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 --- tests/e2e/hub_e2e_views.py | 2 +- tests/e2e/test_001_gaps_e2e.py | 4 +++- tests/e2e/test_orchestrator_e2e.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/e2e/hub_e2e_views.py b/tests/e2e/hub_e2e_views.py index 49e5460..2041091 100644 --- a/tests/e2e/hub_e2e_views.py +++ b/tests/e2e/hub_e2e_views.py @@ -36,7 +36,7 @@ PROBE = """(async () => {@HELPERS@ composers: all("form.composer").map((form) => (form.closest("#radio-spot") ? "spot" : "other")), inbox: all("#main .inbox-list > li").length, icons: icons.length, - unlabelled: icons.map((svg) => svg.parentElement).filter((owner) => !text(owner) && !(owner.getAttribute("title") && owner.getAttribute("aria-label"))).map((owner) => owner.outerHTML.slice(0, 160)), + unlabelled: icons.map((svg) => svg.parentElement.closest(':not([aria-hidden="true"])')).filter((owner) => !text(owner) && !(owner.getAttribute("title") && owner.getAttribute("aria-label"))).map((owner) => owner.outerHTML.slice(0, 160)), broken: all("svg.bi use").filter((use) => !document.getElementById(use.getAttribute("href").slice(1))).map((use) => use.getAttribute("href")), states: all("#main span.state").map(name), deletes: all('#main button[aria-label="Delete"], #main button[aria-label="Delete all merged"]').map((button) => [name(button), button.disabled, button.title]), diff --git a/tests/e2e/test_001_gaps_e2e.py b/tests/e2e/test_001_gaps_e2e.py index a00bfb4..d230bf1 100644 --- a/tests/e2e/test_001_gaps_e2e.py +++ b/tests/e2e/test_001_gaps_e2e.py @@ -75,7 +75,9 @@ SWEEP = """(async () => {@HELPERS@ if (css(up).textOverflow === "ellipsis" || css(up).webkitLineClamp !== "none") { return null; } - if (top < own.top - 1 || bottom > own.bottom + 1 || left < own.left - 1 || right > own.right + 1) { + const cutY = css(up).overflowY !== "visible" && (top < own.top - 1 || bottom > own.bottom + 1); + const cutX = css(up).overflowX !== "visible" && (left < own.left - 1 || right > own.right + 1); + if (cutY || cutX) { return `cut by ${path(up)}`; } } diff --git a/tests/e2e/test_orchestrator_e2e.py b/tests/e2e/test_orchestrator_e2e.py index 36fc0ae..39c6ecc 100644 --- a/tests/e2e/test_orchestrator_e2e.py +++ b/tests/e2e/test_orchestrator_e2e.py @@ -188,7 +188,7 @@ class TestOrchestratorE2E(base.OrchestratorE2ECase): self.assertEqual(by_hash["#artifacts/chord"]["flowEdges"], ["pull", "push"]) order = ["work/feature", "work/docs", "work/stage", "queue/gate-3", "work/old", "operator/push"] listed = by_hash["#tasks/list"] - self.assertEqual(listed["views"], ["List", "Board", "RASCI", "Gantt", "Burndown and burnup", "3D"]) + self.assertEqual(listed["views"], ["List", "Board", "RASCI", "Gantt", "Burndown and burnup", "3D", "Match"]) self.assertEqual(by_hash["#tasks/3d"]["layouts"], ["Force", "Time"]) self.assertTrue(by_hash["#tasks/3d"]["canvas"], by_hash["#tasks/3d"]["note"]) self.assertRegex(by_hash["#tasks/3d"]["note"], r"^6 nodes ยท \d+ edges ยท Force$")