fix: seedless existing user e2e test #28855
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 6a43546. Configure here.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #28855 +/- ##
==========================================
+ Coverage 82.12% 82.20% +0.08%
==========================================
Files 4911 5075 +164
Lines 129029 133758 +4729
Branches 28750 30000 +1250
==========================================
+ Hits 105961 109962 +4001
- Misses 15792 16325 +533
- Partials 7276 7471 +195 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
All changes are exclusively in the seedless onboarding / OAuth domain. The No other E2E test areas are affected - there are no changes to navigation, confirmations, accounts, networks, browser, snaps, swaps, or any other feature area. The Performance Test Selection: |
|




Description
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Changes seedless OAuth onboarding behavior in E2E/perf paths (token exchange, seed phrase backup, config selection), which can affect authentication/onboarding flows if misconfigured, but is largely gated behind test/mocking flags and CI workflows.
Overview
Seedless E2E mock OAuth now exercises real onboarding paths.
OAuthServiceno longer short-circuits seedless authentication underE2E_MOCK_OAUTH; the mock path now performs providerlogin()to capture an email, exchanges QA-mock tokens, calls seedlessauthenticate, and dispatchessetSeedlessOnboarding.OAuth build-type selection is refactored and made overridable. Build-type mapping is extracted into new
oauthBuildType.tswith tests,BUILD_TYPEis exported, and CI/BrowserStack workflows setOAUTH_BUILD_TYPE=main_uatand enableE2E_MOCK_OAUTHfor iOS/Android E2E builds.E2E infra/test updates to reduce flakiness. QA mock token exchange generates unique emails (or uses launch arg/env override), shim/mock server bypass proxy for Web3Auth/Auth-service hosts and filters hop-by-hop headers, Metro mocking is narrowed to OAuth handlers only (removing seedless controller mocks), and seedless smoke/perf tests are adjusted to register-then-reset-then-login plus modal handling; also adds Android trust anchors for user certs in debug and accessibility labels for password fields to improve Android test selectors.
Reviewed by Cursor Bugbot for commit 6a43546. Configure here.