test: fix unmatched mocked polymarket mocks#30194
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #30194 +/- ##
==========================================
+ Coverage 81.54% 81.83% +0.28%
==========================================
Files 5343 5408 +65
Lines 142128 144344 +2216
Branches 32411 32967 +556
==========================================
+ Hits 115899 118122 +2223
+ Misses 18299 18139 -160
- Partials 7930 8083 +153 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@metamaskbot update-mobile-fixture |
|
🔄 Fixture update started. Running workflow from branch |
|
❌ E2E fixture update failed.\n\nCommon causes:\n- CI workflow is still running — wait for 'Build iOS Apps' to complete\n- CI workflow was skipped — ensure your PR has iOS-impacting changes or use |
|
❌ E2E fixture update failed.\n\nCommon causes:\n- CI workflow is still running — wait for 'Build iOS Apps' to complete\n- CI workflow was skipped — ensure your PR has iOS-impacting changes or use |
|
@metamaskbot update-mobile-fixture |
|
🔄 Fixture update started. Running workflow from branch |
|
❌ E2E fixture update failed.\n\nCommon causes:\n- CI workflow is still running — wait for 'Build iOS Apps' to complete\n- CI workflow was skipped — ensure your PR has iOS-impacting changes or use |
…owing the onboarding interest questionaire.
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 502e0c3. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|




Description
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
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
Low risk: changes are limited to E2E test mocks/fixtures and onboarding test flow, reducing flaky/unmocked network calls without touching production logic.
Overview
Prevents Polymarket E2E tests from leaking live requests by adding a default
gamma-api.polymarket.com/events/{id}mock and broadening existing trending-feed event-detail mocks to match any numeric event id.Updates onboarding E2E flows to proceed past the new
OnboardingInterestQuestionnairestep when opting into MetaMetrics, adds a page-object wrapper for that screen, and seedsonboarding-fixture.jsonwith a stable@MetaMask:AnalyticsId.Reviewed by Cursor Bugbot for commit 91267e4. Bugbot is set up for automated code reviews on this repo. Configure here.