From 2da93d8ead4c524c930e8c190541ab88d408220f Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 4 Sep 2026 11:53:12 +0000 Subject: [PATCH 1/3] docs: queue outstanding-issue for recurring shared-shell testid duplication Playwright strict-mode "resolved to 2 elements" failures on service-actions-trigger (PR #2536) and sources-topics-main (PR #2591, tests/ui-sources.spec.ts:88) share the same shape: one element nested inside GlobalSearchShell's mobile-composer-reserve-pad wrapper, one outside it. Confirmed unrelated to either PR's own diff. Queuing for a focused investigation/fix rather than patching a "one owner" shared shell component inside an unrelated PR. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015uRvqm44emrLDMyPF7Pame --- .../4cc4b95c-8dcb-4772-a157-b7ae2980c033.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/outstanding-issues-inbox/4cc4b95c-8dcb-4772-a157-b7ae2980c033.json diff --git a/docs/outstanding-issues-inbox/4cc4b95c-8dcb-4772-a157-b7ae2980c033.json b/docs/outstanding-issues-inbox/4cc4b95c-8dcb-4772-a157-b7ae2980c033.json new file mode 100644 index 000000000..bdd3bb809 --- /dev/null +++ b/docs/outstanding-issues-inbox/4cc4b95c-8dcb-4772-a157-b7ae2980c033.json @@ -0,0 +1,13 @@ +{ + "version": 2, + "id": "4cc4b95c-8dcb-4772-a157-b7ae2980c033", + "createdOn": "2026-09-04", + "action": "add", + "payload": { + "pri": "P2", + "type": "issue", + "summary": "Shared-shell testid duplicates under Playwright strict mode: service-actions-trigger (PR #2536) and sources-topics-main (PR #2591) both resolve to 2 elements, one nested inside GlobalSearchShell's mobile-composer-reserve-pad wrapper and one outside it", + "detail": "Recurring, reproducible 'Production UI critical' failure, not a random flake: strict-mode violation on getByTestId resolving to 2 elements — one aka mobile-composer-reserve-pad.getByTestId(x), one aka getByTestId(x).nth(1). Seen on tests/ui-tools.spec.ts (service-actions-trigger, PR #2536 precedent) and tests/ui-sources.spec.ts:88 (sources-topics-main, PR #2591, run 33868983554). Confirmed unrelated to either PR's own diff (files touched by those PRs don't include global-search-shell.tsx, sources-browse-client.tsx, or mode-home-template.tsx). Root cause not yet isolated — likely a hydration-timing or route-transition double-render inside the GlobalSearchShell/PageSecondaryNavigation tree. GlobalSearchShell is a 'one owner' contract component (AGENTS.md Search chrome behaviour) — a fix needs docs/search-chrome-behaviour.md read first and its own focused PR + npm run verify:phone-chrome, not a rushed patch riding an unrelated PR.", + "issueUlid": "01M1P472CHJAEKM4CFC2PR8C20" + } +} From 1584229908fa4c85425538b7f29c8226cc860463 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 4 Sep 2026 12:37:36 +0000 Subject: [PATCH 2/3] docs: log a third occurrence of the shared-shell testid duplication bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same strict-mode "resolved to 2 elements" shape seen on PR #2613's queued issue, now also on caring-contacts-phone-dock (PR #2600). Three unrelated PRs, three different testids — updates the priority signal for the existing queued investigation without duplicating it. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015uRvqm44emrLDMyPF7Pame --- .../97f270b0-f713-45ae-8b04-0e1982db2518.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/outstanding-issues-inbox/97f270b0-f713-45ae-8b04-0e1982db2518.json diff --git a/docs/outstanding-issues-inbox/97f270b0-f713-45ae-8b04-0e1982db2518.json b/docs/outstanding-issues-inbox/97f270b0-f713-45ae-8b04-0e1982db2518.json new file mode 100644 index 000000000..b274bd4c9 --- /dev/null +++ b/docs/outstanding-issues-inbox/97f270b0-f713-45ae-8b04-0e1982db2518.json @@ -0,0 +1,13 @@ +{ + "version": 2, + "id": "97f270b0-f713-45ae-8b04-0e1982db2518", + "createdOn": "2026-09-04", + "action": "add", + "payload": { + "pri": "P2", + "type": "issue", + "summary": "Third confirmed occurrence of the shared-shell duplicate-testid Playwright strict-mode bug, now in Caring Contacts workspace (caring-contacts-phone-dock, PR #2600)", + "detail": "Same shape as the two occurrences already logged (see the outstanding-issue queued alongside PR #2613): getByTestId resolves to 2 elements, once inside a shared layout wrapper and once outside it. This time: tests/ui-caring-contacts-workspace.spec.ts:1992, 'Template detail at 390px: the phone dock does not own navigation', getByTestId('caring-contacts-phone-dock') resolved to 2