fix(tests): unskip lock alerts and harden en.json E2E selection - #33857
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3e1c4db. Configure here.
🧪 Flaky unit test detectionRun history flaky detectionHistorical failure rate is a hint, not proof — review each suggestion in context. See the flaky-test-detection skill for the full pattern reference and manual audit workflow. Failures / runs sampled per window:
AI-detected flaky patterns
|
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - skip-smart-e2e-selection label found All E2E tests pre-selected. |
|




Description
Restores Appium smoke coverage for lock/unlock and reset-wallet flows that were skipped in #33687 after #26285 changed
drawer.lock_ok/lock_cancelfromYES/NOtoYes/No.Android Material AlertDialog still renders
YES/NOviatextAllCaps, so case-sensitive text selectors readingen.jsonfailed to find the confirm button. This PR switches the lock confirm locator to case-insensitive exact text/label matching on both platforms, and passes an explicitbuttonLabelon the iOSmobile: alertpath.Also adds Smart E2E hard rule
en-locale-changeso changes tolocales/languages/en.jsonforce all E2E tags (and prompt guidance that locale copy is not cosmetic), preventing another #26285-style “no tests recommended” miss.Changelog
CHANGELOG entry: null
Related issues
Refs: https://consensyssoftware.atlassian.net/browse/MMQA-2086
Manual testing steps
Unit coverage already added for the hard rule:
yarn jest tests/tools/e2e-ai-analyzer/modes/select-tags/select-tags-hard-rules.test.tsScreenshots/Recordings
N/A — test and Smart E2E selection infra only; no user-facing UI change.
Before
N/A
After
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Test-only and Smart E2E selection changes; no production app logic. Slightly increases CI E2E scope for
en.jsonPRs by design.Overview
Fixes Appium lock/unlock and reset-wallet smoke tests that broke when locale copy moved alert buttons to sentence case while Android still shows YES via
textAllCaps.Lock alert matching:
SettingsView’s confirm control now uses a case-insensitive exact regex on both Detox and Appium.PlaywrightMatchersprefixes(?i)on regex text locators when theRegExphasignoreCase. iOSconfirmLockAlertaccepts the alert with the actual button label fromgetButtonsinstead of a generic accept.Coverage restored: Three previously skipped Appium specs (Google lock/unlock, reset wallet, account-activity resubscribe after lock) run again.
Smart E2E: New hard rule
en-locale-changeruns all E2E tags whenlocales/languages/en.jsonchanges; prompt text clarifies locale/copy edits are not “cosmetic” for tag selection.Reviewed by Cursor Bugbot for commit 089a0e6. Bugbot is set up for automated code reviews on this repo. Configure here.