Skip to content

test(diagnostics): drive the widget through its shadow root in the e2e probe - #123

Open
phwizard wants to merge 1 commit into
2609from
fix/widget-probe-shadow-dom-2609
Open

test(diagnostics): drive the widget through its shadow root in the e2e probe#123
phwizard wants to merge 1 commit into
2609from
fix/widget-probe-shadow-dom-2609

Conversation

@phwizard

Copy link
Copy Markdown
Member

The AI widget mounts inside an open shadow root on #chat-widget, so the probe's document.querySelector steps could no longer open the panel or find the input. The open/send steps now use Playwright locators (which pierce open shadow DOM). Diagnostics only. Used to reproduce and verify the bot-reaction widget crash fix (chat-component fix/reaction-emoji-render, backend fix/agent-reaction-emoji-ids-2609).

https://claude.ai/code/session_01RWshHxozJi78WfgMqR65j9

…e probe

The AI widget now mounts inside an open shadow root on #chat-widget, so
the probe's document.querySelector calls stopped at the shadow boundary:
"no clickable in #chat-widget", "no input found", and the run never
opened the panel or sent anything. Playwright locators pierce open shadow
DOM, so the open and send steps use them now (launcher by aria-label,
then the message input with fill + Enter).

Used to reproduce and verify the bot-reaction crash fix in the widget.

Claude-Session: https://claude.ai/code/session_01RWshHxozJi78WfgMqR65j9
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