fix(orchestrator): E2E repairs of 085 to 099 and fades scoped to the swapped box
The first E2E run of 085 to 099 failed 69 tests and errored 2; every spec is green again when run alone, and a full rerun left only a Firefox swipe flake. That flake was a real defect: fadeSwap() ran a page-wide View Transition, and captured content takes no pointer hits, so a click or swipe during any list fade was lost. fadeTransition(run, box) now names only the swapped box (view-transition-name list-swap, the root none), so everything outside it stays hit-testable; screen changes stay page-wide. test_hub_motion_e2e proves a hit outside the box during a real fadeSwap; it fails with the scoping removed. The swipe spec passed 3 of 3 runs. Code: the Filter menu opens leftwards instead of past the viewport; kanban lines measure beating cards at rest; a 409 toast names the row's title; viewstore keeps the board legend; a closing context menu drops its focus; the first closed-cards poll only takes a baseline (081 cadence); the Match tile keeps the deck height; a swipe never starts a native link drag; the heartbeat glow survives reduced motion; the Resources toolbar fits 390 px; the Send button keeps 44 px. Specs: elements fading out (086) and the new Claude dialogs section (094) are expected; probes skip the docked bubble's own avatar (098); no assertion was loosened. MEDUSA: 5 false positives accepted on the operator's word (MM-SCAN-058 regex PLA in errors=replace, WM-SCAN-354 regex ELS in else ... code, EXA007 toolbar line moved). 🎯 Fix: 94 % 💥 Break: 4 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 90 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
38788b54a5
commit
0b4e3d3e6a
33 files changed
+124
-52
No files matched your search
@@ -88,7 +88,7 @@ RADIO = """
|
||||
filters: audio().filters.slice(at.filters).map((node) => [node.type, node.frequency.value]),
|
||||
oscillators: audio().oscillators - at.oscillators,
|
||||
levels: audio().levels.slice(at.levels),
|
||||
requests: audio().requests.slice(at.requests).filter((url) => !/\\/api\\/(state|stream|events|tts|tree|subagents|voice\\/[a-d]0)/.test(url)),
|
||||
requests: audio().requests.slice(at.requests).filter((url) => !/\\/api\\/(state|stream|events|tts|tree|subagents|match\\/closed|voice\\/[a-d]0)/.test(url)),
|
||||
});
|
||||
const cpuShown = async (label) => {
|
||||
refreshNow();
|
||||
@@ -107,7 +107,7 @@ RADIO = """
|
||||
};
|
||||
const tabs = () => Object.fromEntries(all('.radio-tabs [role="tab"]', spot).map((tab) => [tab.dataset.tab, Number(text(tab.querySelector(".count")))]));
|
||||
const selected = () => (spot.querySelector('.radio-tabs [aria-selected="true"]') || {dataset: {}}).dataset.tab || null;
|
||||
const rows = () => all(".radio-row", spot).map((item) => ({dir: item.dataset.dir, cls: item.dataset.class, route: text(item.querySelector(".radio-route")), line: text(item.querySelector(".radio-line")), ts: Number(item.querySelector("time").dataset.ts)}));
|
||||
const rows = () => all(".radio-row:not([data-vanishing])", spot).map((item) => ({dir: item.dataset.dir, cls: item.dataset.class, route: text(item.querySelector(".radio-route")), line: text(item.querySelector(".radio-line")), ts: Number(item.querySelector("time").dataset.ts)}));
|
||||
const chip = async (name, value) => {
|
||||
const select = spot.querySelector(`.chip-select[data-chip="${name}"] select`);
|
||||
select.value = value;
|
||||
@@ -193,7 +193,7 @@ LOG = """(async () => {@HELPERS@@RADIO@
|
||||
all(".radio-filters button", spot).find((button) => name(button) === "Clear filters").click();
|
||||
await sleep(150);
|
||||
const clearedChips = [chips(), search().value, rows().length];
|
||||
const faceOf = () => spot.querySelector(".radio-row .radio-sender");
|
||||
const faceOf = () => spot.querySelector(".radio-row:not([data-vanishing]) .radio-sender");
|
||||
const sender = name(faceOf());
|
||||
faceOf().click();
|
||||
const switches = await until(() => document.getElementById("popup").open && document.querySelector("#popup .agent-settings"), 4000);
|
||||
@@ -213,7 +213,7 @@ LOG = """(async () => {@HELPERS@@RADIO@
|
||||
const unmuted = [faceOf().dataset.quiet, await stored()];
|
||||
all("#popup .popup-head button").find((button) => name(button) === "Close").click();
|
||||
await sleep(150);
|
||||
spot.querySelector(".radio-row .radio-pick").click();
|
||||
spot.querySelector(".radio-row:not([data-vanishing]) .radio-pick").click();
|
||||
const full = await until(() => document.getElementById("popup").open && document.querySelector("#popup .radio-full"), 4000);
|
||||
const opened = [document.getElementById("popup").open, text(full)];
|
||||
all("#popup .popup-head button").find((button) => name(button) === "Close").click();
|
||||
@@ -238,8 +238,8 @@ LOG_KEPT = """(async () => {@HELPERS@@RADIO@
|
||||
await sleep(300);
|
||||
const top = Math.max(list.getBoundingClientRect().top, spot.getBoundingClientRect().top, document.querySelector(".head").getBoundingClientRect().bottom);
|
||||
const bottom = Math.min(list.getBoundingClientRect().bottom, spot.getBoundingClientRect().bottom, innerHeight);
|
||||
const shown = all(".radio-row", list).filter((item) => item.getBoundingClientRect().top >= top - 1 && item.getBoundingClientRect().bottom <= bottom + 1).length;
|
||||
return {...kept, shown, total: all(".radio-row", list).length, fits: fits()};
|
||||
const shown = all(".radio-row:not([data-vanishing])", list).filter((item) => item.getBoundingClientRect().top >= top - 1 && item.getBoundingClientRect().bottom <= bottom + 1).length;
|
||||
return {...kept, shown, total: all(".radio-row:not([data-vanishing])", list).length, fits: fits()};
|
||||
})()"""
|
||||
SOUND = """(async () => {@HELPERS@@RADIO@
|
||||
const found = {};
|
||||
|
||||
Reference in new issue
Block a user