Skip to content

Autofocus home address only when opened from the message link - #106364

Open
MelvinBot wants to merge 8 commits into
mainfrom
claude-homeAddressLinkAutofocus
Open

MelvinBot wants to merge 8 commits into
mainfrom
claude-homeAddressLinkAutofocus

Conversation

@MelvinBot

@MelvinBot MelvinBot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

Autofocus Address line 1 only from the home address message link, after the background-tab transition to avoid premature validation. Add address, Preferences, and other address forms keep their existing focus behavior.

AI Tests

Automated checks and verification limitations
  • November 25 test-only trim: 4 targeted suites / 15 tests passed, including address focus, anchor rendering, message-link handling, and home-address navigation. Changed-file lint, spelling, typecheck, Storybook smoke test, and the commit hook's oxfmt check passed. Full lint and full Jest each exceeded the two-minute local limit; full-suite success is not confirmed. The requested cleanup changes no application code or browser behavior.

  • Updated November 25: merged main and pushed conflict resolutions at 06cef1c447, retaining message-link autofocus and upstream privacy masking. Pushed at getusha's explicit request despite verification limitations.

  • Conflict-resolution review found no new violations; explicit React Compiler and spelling checks for both resolved components passed. Full lint, typecheck, Jest, and Storybook did not complete within local time limits; Jest reported missing react-native-skia during setup. Formatting execution was denied. These are not passing checks.

  • The missing dependency is already declared on main; the PR does not change dependency manifests relative to main. The earlier generic Account settings crash remains unattributed without a stack trace; no additional browser verification was performed in this update.

  • Updated November 18: merged main and resolved the address-page test conflict by retaining coverage on the supported Preferences route and removing references to the deleted Profile address route.

  • Restricted the message-link override and its regression test to the private-details path; removed the speculative compatibility comment.

  • Post-merge targeted regression run: 7 suites / 36 tests passed.

  • Full Jest run timed out after 12 minutes, with 775 suites reporting passes and no failures reported before timeout. Full-suite success is not confirmed.

  • Full lint, changed-file lint, typecheck, Storybook smoke test, and spelling for the four edited files passed. Broad spelling found one upstream-only issue. The changed-file compiler check timed out; the explicit compiler command for the two edited components exited successfully.

  • No prettier script exists; the commit hook's formatting check passed.

  • Current AI browser verification was blocked by a blank browser page and a suspended app-tool session; all three focus assertions remain unverified. No uploadable screenshot was saved. Earlier manual verification provided by getusha is retained below.

Contributor branch access

The branch is on upstream because Melvin cannot push to getusha's fork. To copy it to the contributor fork:

git remote add upstream https://github.com/Expensify/App.git
git fetch upstream claude-homeAddressLinkAutofocus
git checkout -b claude-homeAddressLinkAutofocus upstream/claude-homeAddressLinkAutofocus
git push -u origin claude-homeAddressLinkAutofocus

Then a replacement PR can be opened from the fork and this draft closed.

Fixed Issues

$ #100235
PROPOSAL: #100235 (comment)

Tests

Steps copied verbatim from the issues. For local testing, use the local build instead of staging. Manual verification provided by getusha.

Distance - Address line 1 is not auto focused when opened from home address link

Precondition:

  • Log in with Expensifail accounts.
  • Create a workspace and add an address to workspace.
  • Enable Distance rates. Select Calculate by home and office in Distance rates > Settings > Exclude commutes.
  • Invite another member to the workspace.
  • Perform the steps below as invited member.
  1. Go to staging.new.expensify.com
  2. Go to invited workspace chat.
  3. Click Add address button.
    → Address line 1 field is auto focused.
  4. Go back to invited workspace chat.
  5. Click home address link.

Expected Result:
Address line 1 will be auto focused when opened from home address link.

Regression: Distance - "This field is required" shown on Address line 1 after opening from home address link

Precondition:

  • Log in with Expensifail accounts.
  • Create a workspace and add an address to workspace.
  • Enable Distance rates. Select Calculate by home and office in Distance rates > Settings > Exclude commutes.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Click home address link.

Expected Result:
Error will not appear on Address line 1.

Note: The original issue's Add address autofocus observation predates the clarified scope; this PR changes autofocus only for the message link.

  • Verify that no errors appear in the JS console

Offline tests

QA Steps

Same as Tests, on staging.

  • Verify that no errors appear in the JS console

PR Author Checklist

Checked on behalf of getusha per their verification confirmation.

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I verified any copy / text that was added to the app is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • If new assets were added or existing ones were modified, I verified that:
    • The assets are optimized and compressed (for SVG files, run npm run compress-svg)
    • The assets load correctly across all supported platforms.
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If the PR adds or modifies the UI:
    • I asked an AI agent to review the changes for accessibility issues and addressed its findings.
    • I tested with a screen reader (VoiceOver on macOS) and verified all new/changed elements are reachable with a logical focus order.
    • I verified all new/changed elements have meaningful accessible names and roles.
    • I verified state changes are announced (e.g. checked/unchecked, expanded/collapsed, selected).
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Provided by getusha in manual verification results.

Android: Native
android-hskdjfh.webm
Android: mWeb Chrome Android mWeb verification provided by getusha
iOS: Native
Screen.Recording.iPhone.17.Pro.17-11-2026.at.11.18.57.AM.mp4
iOS: mWeb Safari
Screen.Recording.iPhone.17.Pro.17-11-2026.at.11.12.32.AM.mp4
MacOS: Chrome / Safari Web verification provided by getusha

Co-authored-by: Getabalew T <getusha@users.noreply.github.com>
@MelvinBot
MelvinBot requested a review from a team November 9, 2026 12:25
@melvin-bot melvin-bot Bot added Melvin-Test-Android Melvin-Test-Web Triggers Melvin to run the testing steps of the PR on web labels Nov 9, 2026
@MelvinBot

Copy link
Copy Markdown
Contributor Author

🤖 Web test steps verification results: ⚠️ partial

Dev NewDot web opened successfully, but the account has no workspaces, blocking the invited-member message fixture. Message-link and Add address behavior remain unverified; settings navigation also differs from the documented flow.

Personal details dialog opened from Profile Home address

Step Status
1. Open web AppAuthenticated Home screen verified in the handed-off dev session.
✅
2. Open invited workspace chatAccount shows “No workspaces yet.” The invited-member message fixture requires another account.
Workspaces screen showing No workspaces yet
⚠️
3. Verify Add address retains existing focus behaviorBlocked: required message and button unavailable.
⚠️
4. Return to invited workspace chatBlocked: no invited workspace available.
⚠️
5. Verify home address link autofocuses without validation errorBlocked: message link unavailable. Autofocus, absence of an immediate required-field error, and Settings background remain unverified.
⚠️
6. Verify Home address through Preferences does not autofocusDocumented Preferences route unavailable. Profile → Home address opened Personal details without visible required-field errors, but focus could not be reliably established.
Personal details dialog opened from Profile Home address
⚠️
7. Verify no JavaScript console errorsConsole inspection is unavailable through the permitted testing interface; not verified.
⚠️

view run

@MelvinBot

Copy link
Copy Markdown
Contributor Author

🤖 Android test steps verification results: ⚠️ partial

Recovered authentication and completed onboarding on standalone Android NewDot. Required invited-workspace fixture was absent; address autofocus tests could not run.

Inbox showing the missing workspace-message fixture

Step Status
1. Open Android App authenticatedAuthenticated Home and Inbox rendered after recovery and onboarding.
Authenticated Android Inbox containing only Concierge
✅
2. Open invited workspace chat with required-address messageBlocked: Inbox contained only Concierge; no invited workspace chat or required-address message was available.
Inbox showing the missing workspace-message fixture
❌
3. Verify Add address retains existing focus behaviorNot tested: required message and button unavailable.
❌
4. Return to invited workspace chatNot tested: invited workspace chat unavailable.
❌
5. Verify home address link autofocuses without immediate validation errorNot tested: message link unavailable. Autofocus, absence of the required-field error, and opening over Settings remain unverified.
❌
6. Verify Preferences retains non-autofocus behaviorNot tested: testing stopped after confirming the required fixture was absent.
❌
7. Verify no JavaScript console errorsUnverified: app logging was inactive and the requested interaction sequence was not executed.
❌

view run

@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot add QA & test steps from the associated issue. include the regression steps as well

@MelvinBot

Copy link
Copy Markdown
Contributor Author

Updated the PR’s Tests and QA Steps with setup instructions, the associated issue’s reproduction steps, and regression checks—including the premature required-field error and unchanged button/Preferences focus behavior.

Marked these as unexecuted; existing verification blockers remain documented.


view run

@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot lets pull main with conflicts fixed

@MelvinBot

Copy link
Copy Markdown
Contributor Author

Resolved the two merge conflicts locally, preserving autofocus behavior and main’s updates.

Blocked before committing/pushing: Bun’s dependency setup fails, preventing lint/typecheck and package patching. Jest then fails loading React Navigation’s ES modules. The PR branch remains unchanged.


view run

@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot lets copy the steps word by word and not complicate it, compact PR description and collapse AI tests as well

@MelvinBot

Copy link
Copy Markdown
Contributor Author

Updated: copied the original and regression steps word for word, shortened the description, and collapsed AI Tests and the checklist. QA now says “Same as Tests, on staging.”


view run

@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Web:

Screenshot 2026-11-17 at 11 00 35 AM

Android mWeb:

Screenshot_1794902733

iOS mWeb:

Screen.Recording.iPhone.17.Pro.17-11-2026.at.11.12.32.AM.mp4

Android Hybrid:

android-hskdjfh.webm

iOS Hybrid:

Screen.Recording.iPhone.17.Pro.17-11-2026.at.11.18.57.AM.mp4

@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot I feel like there are lots of micro tests that are unnecessary, can we compact the tests? Also i verified the checklist so check the items, don't collapse the checklist.

@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot try again

@MelvinBot

Copy link
Copy Markdown
Contributor Author

⏱️ Ran out of time before I could finish. This usually means the task was too complex or I got stuck exploring. Please try again with a more specific request or post in #melvinbot-ai.

Run details

@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot please trim the tests to what this PR's logic needs:

  • Delete tests/unit/AddressFormFocusTest.tsx (it only checks a prop pass-through; PersonalAddressPageFocusTest covers the focus gating).
  • AnchorRendererTest: drop the it.each over comment/non-comment and keep only the comment branch, for both the override case and the default case.
  • HomeAddressRequiredContentTest: replace the 4-origin it.each with a single origin that still checks both paths (private details and home address). Cut "leaves unrelated links" down to the internal settings/profile case. LinkTest already covers origin and URL parsing.
    Don't change anything else.

Co-authored-by: Getabalew T <getusha@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Done—consolidated two mock-only test files into real-page coverage and pushed. Checked the checklist on your behalf and left it expanded; AI Tests remains collapsed.

Checks: 51 targeted tests passed, plus lint, typecheck, spelling, and Storybook. Full Jest timed out after 10 minutes.


view run

Co-authored-by: Getabalew T <getusha@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Pushed only the requested test trims. The prop-pass-through test was already deleted; nothing else changed.

All 74 tests across 9 relevant suites passed, plus lint, typecheck, and spelling.


view run

@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Screenshots here: #106364 (comment)
And mark this PR ready for review

@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot ^

@MelvinBot
MelvinBot marked this pull request as ready for review November 17, 2026 10:01
@MelvinBot
MelvinBot requested a review from a team as a code owner November 17, 2026 10:01
@expensify-chore-bot
expensify-chore-bot Bot requested review from getusha and removed request for a team November 17, 2026 10:01
@expensify-chore-bot

Copy link
Copy Markdown

@getusha Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@expensify-chore-bot
expensify-chore-bot Bot removed the request for review from a team November 17, 2026 10:31
@expensify-chore-bot

Copy link
Copy Markdown

@iwiznia @Gonals One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@MelvinBot

Copy link
Copy Markdown
Contributor Author

Merged main, resolved both conflicts, and pushed. GitHub confirms the PR is conflict-free.

All 40,345 tests passed, along with lint, typecheck, compiler checks, and Storybook. Updated AI Tests with the results.


view run

@MelvinBot

Copy link
Copy Markdown
Contributor Author

⚠️ Something went wrong. This may be a transient issue. Try again. If it persists, check status.openai.com.

Run details

@MelvinBot

Copy link
Copy Markdown
Contributor Author

The failing Android build is unrelated to this PR: MainApplication.kt:129 references Build without its import. The same code exists on main, inherited through the merge.

No changes pushed, since unrelated fixes are out of scope. The missing import needs correction upstream.

All unit tests, lint, typecheck, and other builds passed. The remaining independent-approval failure requires reviewer action.


view run

@MelvinBot

Copy link
Copy Markdown
Contributor Author

The Android build failure is unrelated to this PR: it inherited a missing android.os.Build import from main.

Main now contains the correction, verified at MainApplication.kt:11. Updating this branch from main should address that compilation error; rerunning the unchanged revision won’t.

No changes pushed, because the failure is outside this PR’s changes. Unit tests, lint, and typecheck pass. Checklist and independent-approval failures remain for human reviewers.


view run

Co-authored-by: Getabalew T <getusha@users.noreply.github.com>
@getusha

getusha commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified that the composer does not automatically focus or open the keyboard on mobile unless explicitly intended. This includes checking that returning the app from the background does not unexpectedly open the keyboard.
  • I verified tests pass on all platforms & I tested again on:
    • Android: HybridApp
    • Android: mWeb Chrome
    • iOS: HybridApp
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified any copy / text that was added to the app is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If the PR adds or modifies the UI:
    • I asked an AI agent to review the changes for accessibility issues and addressed its findings.
    • I tested with a screen reader (VoiceOver on macOS) and verified all new/changed elements are reachable with a logical focus order.
    • I verified all new/changed elements have meaningful accessible names and roles.
    • I verified state changes are announced (e.g. checked/unchecked, expanded/collapsed, selected).
  • For any bug fix or new feature in this PR, I verified that sufficient unit tests are included to prevent regressions in this flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

#106364 (comment)

@MelvinBot

Copy link
Copy Markdown
Contributor Author

There are no failing checks on the latest revision (133a102). Lint, typecheck, formatting, and Storybook pass.

Unit tests, performance tests, and some builds—including the Android build—are still pending, so success isn’t confirmed yet.

No changes pushed; there’s no current failure to fix.


view run

@MelvinBot

Copy link
Copy Markdown
Contributor Author

⚠️ MelvinBot CI Fix Loop Detected

MelvinBot has made 5 consecutive commits trying to fix CI failures. Automatic CI fix dispatches are now paused for this PR.

Next steps: A human should review the recent commits and resolve the conflicting CI errors manually.


function getHomeAddressPressOverride(href: string) {
const path = getInternalNewExpensifyPath(href).split(/[?#]/).at(0);
// The backend may still send the legacy private-details path instead of the address-only path, so accept both.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not really legacy, Auth only sends settings/profile/private-personal-details (here) and I don't see any PR changing it, so the SETTINGS_HOME_ADDRESS check is never hit.
Should we change Auth to send the home address path? If not, I'd drop that check and fix the comment.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, that comment is speculative. Lets just drop it then

@MelvinBot please only match the private-details path in getHomeAddressPressOverride, remove the SETTINGS_HOME_ADDRESS check and its comment, and update HomeAddressRequiredContentTest to test only the private-details path. Also pull main & resolve conflicts

@MelvinBot MelvinBot Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Web test steps verification results: ❌ fail

Pushed the private-details-only match and test update, removed the speculative comment, and merged main with conflicts resolved. All 36 targeted tests passed; browser verification was blocked by a blank page and suspended session, while full Jest timed out.

Step Status
Private-details message link autofocuses without validation errorsUnverified: browser session unavailable.
❌
Add address retains existing focus behaviorUnverified: same browser blocker.
❌
Preferences navigation does not autofocusUnverified: same browser blocker.
❌

view run · no recording available

Co-authored-by: Getabalew T <getusha@users.noreply.github.com>
@Gonals
Gonals self-requested a review November 18, 2026 19:25
iwiznia
iwiznia previously approved these changes Nov 19, 2026
garrettmknight
garrettmknight previously approved these changes Nov 19, 2026

@garrettmknight garrettmknight left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from a product perspective.

Gonals
Gonals previously approved these changes Nov 23, 2026
@Gonals

Gonals commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

@getusha, conflicts

@getusha

getusha commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot pull main to fix conflicts

@MelvinBot

MelvinBot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 Web test steps verification results: ❌ fail

Resolved both conflicts locally, preserving autofocus and main’s privacy masking, but nothing was pushed: missing dependencies blocked Jest/typecheck/Storybook, and formatter execution was denied. Web verification was also blocked by an app error opening Account settings.

App error screen after opening Account settings

Step Status
Message-link autofocus without validation errorUnverified: required home-address message link was unavailable.
❌
Add address and Preferences focus behaviorUnverified: Account settings displayed an app error.
App error screen after opening Account settings
❌

view run · no recording available

@getusha

getusha commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

@MelvinBot push it and lets handle the errors as they come after review, also is the error related?

Co-authored-by: Getabalew T <getusha@users.noreply.github.com>
@MelvinBot
MelvinBot dismissed stale reviews from Gonals, garrettmknight, and iwiznia via 06cef1c November 25, 2026 19:12
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Pushed the main merge and conflict resolutions. GitHub confirms the PR is conflict-free; verification limitations are documented.

  • Missing dependency errors: appear environment-related, not caused by this PR’s dependency changes.
  • Account settings crash: still unconfirmed—without a stack trace, I can’t say whether it’s related.

view run

@getusha

getusha commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

@MelvinBot please trim the new tests:

  • tests/ui/AddressPageTest.tsx: replace the focus it.each with one test covering two cases: fieldToFocus=addressLine1 → Address line 1 has autoFocus, and no param → it doesn't. Drop the city row, the route column, the loop over the other inputs and the "This field is required" assertion. Leave the other tests in the file untouched.
  • AnchorRendererTest: remove mockTextLink typing/usage that isn't asserted on.
  • Keep the openHomeAddressPageTest, AnchorRendererTest and HomeAddressRequiredContentTest cases as they are.

Co-authored-by: Getabalew T <getusha@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Pushed the requested test trims: one two-case focus test and removal of the unused mock recorder. All other test cases remain unchanged.

Passed: 15 targeted tests, changed-file lint, typecheck, formatting, spelling, and Storybook. Full lint and Jest timed out.


view run

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

Melvin-Test-Android Melvin-Test-Web Triggers Melvin to run the testing steps of the PR on web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants