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$")