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

+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)}`;
}
}