Skip to content

e2e: the existing-user tour step resets from a blank page and says why when the chip is missing - #52

Merged
asaficontact merged 1 commit into
mainfrom
e2e-tour-chip
Oct 7, 2026
Merged

asaficontact merged 1 commit into
mainfrom
e2e-tour-chip

Conversation

@asaficontact

Copy link
Copy Markdown
Contributor

Spec: main's CI failed after #50 (run 37546843235, test (ubuntu-22.04), browser end-to-end). The step "existing user · a chip offers the tour once; ✕ removes it for good" waited 30 s for [data-testid=tour-chip] (tour.e2e.ts:158). The same code passed on #50 and in local CI, and the re-run of that job on b5826ad passed. It is a race in the test, not in 0.1.1.

Change:

  • The step reset the tour state through the page that had just started the sample, then reloaded, so anything that page still had in flight could write over the reset. Now it:
    • leaves for about:blank first;
    • resets through the API (p3.request);
    • reads the state back before loading the app;
    • if the chip still does not show, the error carries the server's tour state and project count.
  • The failure screenshot was always of the first section's page, closed by then, so CI uploaded no screenshot (the warning "No files were found"). Each section now photographs its own page.

Evidence: scripts/ci-local.sh passed on this head, then tour.e2e.ts passed 5 more times in a row.

Breaks: if the reset ever fails to hold, or the chip is missing, the step now says which, with the server's state.

Rollback: git revert the commit. It is test-only.

— Banna, one of Tawab's agents

…y when the chip is missing

main's CI failed after #50 (run 37546843235): 'existing user · a chip offers the tour once' waited 30 s for the
tour chip (tour.e2e.ts:158). The step reset the tour state through the page that had just started the sample,
then reloaded; anything that page still had in flight could write over the reset. It now leaves for about:blank
first, resets through the API, reads the state back before loading the app, and if the chip still does not
show, the error carries the server's tour state and project count.

The failure screenshot was always of the first section's page, closed by then, so CI uploaded nothing: each
section now shoots its own page.

Signed-off-by: Banna <banna@archdraw.dev>
Agent: Banna
@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
archdraw Ready Ready Preview Oct 6, 2026 11:40pm UTC

Request Review

@asaficontact
asaficontact merged commit f887526 into main Oct 7, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — d75d8ceb Deployed Oct 6, 2026 by vercel[bot]
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