feat: remove mock seedless controller from performance tests #28713
feat: remove mock seedless controller from performance tests #28713
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 3 potential issues.
❌ 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 e6160df. Configure here.
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - draft PR All E2E tests pre-selected. |
|
|
✅ E2E Fixture Validation — Schema is up to date |




Description
This PR scopes Metro and OAuth mock behavior so onboarding performance tests can use the real seedless-onboarding controller
Jira: https://consensyssoftware.atlassian.net/browse/TO-677
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Screen.Recording.2026-04-13.at.10.29.10.AM.mov
Screen.Recording.2026-04-13.at.10.27.03.AM.mov
Screen.Recording.2026-04-13.at.12.44.04.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Medium risk because it changes how
E2E_MOCK_OAUTHroutes through token exchange and seedless authentication and adjusts Metro module mocking behavior, which can affect CI/E2E flows and UAT OAuth config selection.Overview
Onboarding performance runs now use the real seedless onboarding controller while still supporting a QA-mock OAuth token exchange path, so TOPRF auth can run against live nodes.
This adds
OAUTH_BUILD_TYPE=main_uatto Bitrise BrowserStack builds and allows overriding OAuth config viaprocess.env.OAUTH_BUILD_TYPE. The QA mock token exchange now generates a unique+e2e@web3auth.ioemail by default, uses real-ish OAuth client IDs in mocks, and always proceeds to seedlessauthenticate(removing the prior short-circuit), with updated tests and improved mock server logging/fallback behavior.Reviewed by Cursor Bugbot for commit e6160df. Configure here.