Skip to content

[No QA] Wait for each onboarding screen in the web onboarding macro - #104937

Draft
kacper-mikolajczak wants to merge 3 commits into
Expensify:mainfrom
callstack-internal:kacper-mikolajczak/onboarding-macro-waits
Draft

kacper-mikolajczak wants to merge 3 commits into
Expensify:mainfrom
callstack-internal:kacper-mikolajczak/onboarding-macro-waits

Conversation

@kacper-mikolajczak

@kacper-mikolajczak kacper-mikolajczak commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

The automated onboarding replay presses Something else while the purpose chooser is still settling. The press lands before the button is interactive, the flow never reaches the name step, and the replay diverges. Add waits in the web onboarding macro so each press fires only once its target screen is present: agent-device wait <selector> 15000 before both presses, plus wait stable 1000 10000 between the chooser wait and its press.

Fixed Issues

$ PROPOSAL:

Tests

  1. From a fresh signed-in web account, run the onboarding macro (agent-device flow complete-onboarding with a first and last name).
  2. Verify the flow passes the purpose chooser and lands on the name step instead of stalling on the chooser.
  • Verify that no errors appear in the JS console

QA Steps

No staging QA: the change is inside a development-only automation flow file (.claude/skills/agent-device/flows/), not shipped app code.

…ding macro

The purpose chooser sizes its max height to the window, so at the default
browser viewport the last option sits below the fold and the press is
dispatched off-screen. Also drop the wait stable line, which did not change
the outcome.

This branch has not been deployed

No deployments
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