test(e2e): follow the Match view and its face buttons

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 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-23 11:11:16 +00:00
1 parent c412d76b25
commit 2233c58e59
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -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]),
+3 -1
View File
@@ -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)}`;
}
}
+1 -1
View File
@@ -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$")