Skip to content

test: pick the On <agent> tab by title-case On Me in the page-holds-still journey - #5740

Merged
leaf-agent merged 1 commit into
mainfrom
fix/on-me-tab-regex
Nov 9, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/on-me-tab-regex

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#5633 renamed the user's list "On me" to "On Me" and updated this journey's press on the "On Me" tab, but left the regex that picks the other tab as ^\s*On (?!me). Playwright's regex text match is case-sensitive, so the lookahead no longer excluded "On Me 14", and the click resolved to both tabs and failed on strict mode. That broke both test_the_page_holds_still_under_the_user[on-me-turned-back-ask-chromium] and [on-me-turned-back-ask-firefox] on Linux and macOS in scheduled run 42473165114. The lookahead now excludes Me. Nothing else changes, and the journey again turns On Me to On Claude and back.

Both cases fail locally on main with the strict-mode error before the change and pass after it (uv run pytest --run-nightly tests/journeys/test_page_holds_still.py -k on-me-turned-back-ask). No other test in tests/ keeps a case-sensitive pattern on the old "On me" label.

Refs #4225 — automated triage

…till journey

#5633 renamed the user's list On me to On Me and updated this journey's
"On Me" tab press, but left the regex that picks the other tab as
^\s*On (?!me). Regex matching is case-sensitive, so it matched both
"On Me 14" and "On Claude", and the click failed on Playwright's strict
mode in both on-me-turned-back-ask cases. The lookahead now excludes Me.
No behavior changes; the journey again exercises the turn-back.

Refs #4225
@leaf-agent
leaf-agent merged commit a8eccc6 into main Nov 9, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/on-me-tab-regex branch November 9, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant