Skip to content

Show where the demo greeting test stops in CI - #2211

Closed
joepio wants to merge 2 commits into
developfrom
claude/demo-chat-greeting-wait
Closed

joepio wants to merge 2 commits into
developfrom
claude/demo-chat-greeting-wait

Conversation

@joepio

@joepio joepio commented Oct 11, 2026

Copy link
Copy Markdown
Member

Before: demo-chat.spec.ts:24 fails on every develop run since batch #2210 (runs 5205 and 5208, 6 of 6 attempts) with "Welcome to the team" not found. CI's page snapshot shows the visitor's own "Hi" never appears and the input is empty, so Mara has nothing to answer. The test passes locally 10 of 10, including test-e2e:local --same-origin against develop's server, and the CI artifacts can't be downloaded from the agent sandboxes.

After: the test first checks that the visitor's Hi shows up (15 s), then the greeting (5 s), and on either failure prints the page's console to the test output, so the next CI run shows where it stops.

How: a console and pageerror collector on the page, printed from a catch around the two assertions; toHaveValue('Hi') before Enter rules out a lost fill. No product code changes; this does not fix the red by itself.

Related Issues

Develop red on demo-chat after batch #2210.

Checklist

  • Add changelog entry linking to issue, describe API changes (test only)
  • Add or update tests if needed
  • Update docs if needed

Generated by Claude Code

The test fails on every CI run since batch #2210 and never locally: the
visitor's Hi never appears, so Mara has nothing to answer. It now checks
that the Hi posts before waiting for the greeting, and prints the page's
console when either step fails, so the next CI run shows the cause.
The page console alone may not say why the visitor's Hi is missing in CI.
The failure now also prints every chat entry on screen, the input's value,
whether the store is connected, and what the outbox holds.

joepio commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

Closing: develop's demo-chat e2e has been green since the 30 s greeting wait (77a2e85) and the later demo fixes (#2230, #2233), so these extra diagnostics are not needed.


Generated by Claude Code

@joepio joepio closed this Oct 13, 2026
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