From 8052f0b89daeb703ce0f2d43a2955d6b896cbdc8 Mon Sep 17 00:00:00 2001 From: "kitokey-marc[bot]" <356215105+kitokey-marc[bot]@users.noreply.github.com> Date: Sun, 15 Nov 2026 03:26:02 +0100 Subject: [PATCH 1/2] =?UTF-8?q?shell:=20e2e=20=E2=80=94=20D60's=20English?= =?UTF-8?q?=20check=20says=20which=20part=20failed:=20the=20mark,=20the=20?= =?UTF-8?q?row,=20the=20width=20(#850)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Its row read « Confidential meetingNothing leaves this computer » when it failed: both words there, so the mark not written within 3 s or the window too narrow failed it, which the row alone did not say. The check is the same; what it shows when it fails is all of it. Agent-Session: 14f73956-90b9-46a3-9fcc-52dc45c43948 Co-Authored-By: Claude Opus 5.5 --- modules/shell/scripts/e2e_window.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/shell/scripts/e2e_window.py b/modules/shell/scripts/e2e_window.py index b9b521f2..c431f98b 100644 --- a/modules/shell/scripts/e2e_window.py +++ b/modules/shell/scripts/e2e_window.py @@ -6731,8 +6731,11 @@ def window(folder: Path, language: str, more: str, small: bool = False, dark: bo marked = wait_for(browser, lambda b: (english / "2026-10-18_12-00" / "confidential").exists(), 3) row = browser.find_element(By.CSS_SELECTOR, "#small .confidential").text time.sleep(0.3) + whole = fits(browser) + # Which part failed said with it (#850): the mark written, the row's words, the window's width. check("in English, « Confidential meeting — nothing leaves this computer », on, the window whole", - marked and "Confidential meeting" in row and "Nothing leaves this computer" in row and fits(browser)[0] <= fits(browser)[1], row) + marked and "Confidential meeting" in row and "Nothing leaves this computer" in row and whole[0] <= whole[1], + {"marked": marked, "row": row, "fits": whole}) seen(browser, "d60-2-small-on-dark") stop_from_small(browser) wait_for(browser, lambda b: front(english / "2026-10-18_12-00", "provider") == "local", 20) From 862cf88a074cfb15fa3dad0c421e62f1e89778b5 Mon Sep 17 00:00:00 2001 From: "kitokey-marc[bot]" <356215105+kitokey-marc[bot]@users.noreply.github.com> Date: Sun, 15 Nov 2026 03:28:03 +0100 Subject: [PATCH 2/2] =?UTF-8?q?shell:=20e2e=20=E2=80=94=20D60's=20bar=20wa?= =?UTF-8?q?ited=20for=20whole,=20not=20read=20after=20a=20fixed=20pause=20?= =?UTF-8?q?(#850)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Turned confidential, the bar adds a row and its window grows to it, asynchronously. Its two checks read the window's height 0.3 s after the gesture: a loaded machine outruns that, and the check failed with every word of the row there. Now waited for as a state, `whole`, within five seconds, before each check — and so before the screenshot that follows it. Agent-Session: 14f73956-90b9-46a3-9fcc-52dc45c43948 Co-Authored-By: Claude Opus 5.5 --- modules/shell/scripts/e2e_window.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/modules/shell/scripts/e2e_window.py b/modules/shell/scripts/e2e_window.py index c431f98b..c9c03b2a 100644 --- a/modules/shell/scripts/e2e_window.py +++ b/modules/shell/scripts/e2e_window.py @@ -6561,6 +6561,9 @@ def log_message(self, *_): 'transcription_agreed = "hears.example"\nminutes_provider = "https://writes.example/v1"\nminutes_model = "gpt-4.1-mini"\n') agreed = named + 'minutes_agreed = "writes.example"\n' fits = lambda b: b.execute_script("const e = document.scrollingElement; return [e.scrollHeight, e.clientHeight];") + # The bar's window grows to its content after a row is added, asynchronously: waited for as a state, + # never a fixed pause, which a loaded machine outruns (#850). + whole = lambda b: fits(b)[0] <= fits(b)[1] front = lambda folder, key: next((line.split(": ", 1)[1] for line in (folder / "minutes.md").read_text().splitlines() if line.startswith(f"{key}: ")), None) if (folder / "minutes.md").exists() else None engine = lambda folder: json.loads((folder / "transcript.jsonl").read_text().splitlines()[0]).get("engine") \ @@ -6608,8 +6611,8 @@ def window(folder: Path, language: str, more: str, small: bool = False, dark: bo marked = wait_for(browser, lambda b: (meeting / "confidential").exists(), 3) check("turned on by the keyboard, the meeting's file confidential is written, empty, nothing beside it", marked and (meeting / "confidential").read_bytes() == b"" and names(meeting) == ["confidential", "session.json"], names(meeting)) - time.sleep(0.3) - check("on, with its context, the bar holds whole — 440 wide, as tall as it shows", fits(browser)[0] <= fits(browser)[1] + held = wait_for(browser, whole, 5) + check("on, with its context, the bar holds whole — 440 wide, as tall as it shows", held and browser.execute_script("return innerWidth") == 440, (fits(browser), browser.execute_script("return [innerWidth, innerHeight]"))) seen(browser, "d60-2-small-on-light") stop_from_small(browser) @@ -6730,12 +6733,11 @@ def window(folder: Path, language: str, more: str, small: bool = False, dark: bo press(browser, "small-confidential") marked = wait_for(browser, lambda b: (english / "2026-10-18_12-00" / "confidential").exists(), 3) row = browser.find_element(By.CSS_SELECTOR, "#small .confidential").text - time.sleep(0.3) - whole = fits(browser) - # Which part failed said with it (#850): the mark written, the row's words, the window's width. + held = wait_for(browser, whole, 5) + # Which part failed said with it (#850): the mark written, the row's words, the window's height. check("in English, « Confidential meeting — nothing leaves this computer », on, the window whole", - marked and "Confidential meeting" in row and "Nothing leaves this computer" in row and whole[0] <= whole[1], - {"marked": marked, "row": row, "fits": whole}) + marked and "Confidential meeting" in row and "Nothing leaves this computer" in row and held, + {"marked": marked, "row": row, "fits": fits(browser)}) seen(browser, "d60-2-small-on-dark") stop_from_small(browser) wait_for(browser, lambda b: front(english / "2026-10-18_12-00", "provider") == "local", 20)