Repository navigation
Conversation
text="Home" can never match on the Home screen: "Home" is rendered by three separate nodes (a link, a tab and a heading), and an ambiguous text selector does not resolve. role="heading" label="Home" is unique and matches. Verified against a local dev build with SKIP_ONBOARDING=false: the sign-in, join and complete-onboarding chain now satisfies every @post.
|
@brunovjk sorry for premature undrafting. Still in progress. |
|
Great, let me know if I can help with anything. Thanks. |
text="Home" cannot resolve: Home renders that word as a nav link, a tab and the page heading, and an ambiguous text selector does not match. The android accessibility tree is not verified for a heading role, so the macro asserts the Search button it already declared.
The purpose screen and the profile screen render slower than the replay issues its next press, so the target does not exist yet when the step runs. Each wait names the target of the step that follows it.
Step 1 of the Android sign-in macro fails intermittently (2 of 4 CI runs) with "Android fill verification failed": the field is visibly empty after fill, so focus or input delivery sometimes does not take even though the selector already resolves to the correct field. Add agent-device's suggested role="edittext" arm as the middle option in the union selector, and press the field to focus it explicitly before filling.
Julesssss
left a comment
There was a problem hiding this comment.
Is this a blocker to https://github.com/Expensify/melvin/pull/401?
Yes, it is. |
|
Cool, let us know when ready for review |
|
The changes were verified to be OK. Fixing CI checks and undrafting. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 98204f568c
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 9.4.75-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.75-3 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.75-3 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
text="Home"can never match on the Home screen. "Home" is rendered by threeseparate nodes there - a nav link, a tab and the page heading - and an ambiguous
text selector does not resolve, so the assertion fails even though the screen is
correct.
role="heading" label="Home"is unique and matches.This replaces the
@postheader inweb/complete-onboarding.ad, and the deadtext="Home"arm of the@postunion inweb/sign-in.ad.android/complete-onboarding.addeclares the same unsatisfiable header. Itsaccessibility tree is not verified for a heading role, so rather than assume one,
that macro drops the line and asserts the
role="button" label="Search"landmarkit already declared alongside it.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/677358
Tests
N/A
Offline tests
N/A.
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionTestsflows/macros/Avatar, I verified the components usingAvatarare working as expected) - nothing imports these files; only@postassertion headers change, no replay step is touchedStyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases) - N/ADesignlabel and/or tagged@Expensify/designso the design team can review the changes..admacros have no unit-test harness; theTestssection covers itmainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
No UI change - this edits an automation macro under
.claude/that is not bundled into the app.Android: Native
N/A
Android: mWeb Chrome
N/A
iOS: Native
N/A
iOS: mWeb Safari
N/A
MacOS: Chrome / Safari
N/A