test: adds analytics verification to unified ramps flow#26109
test: adds analytics verification to unified ramps flow#26109christopherferreira9 merged 2 commits intomainfrom
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
This is a test-only change with no application code modifications. The test file uses the SmokeRamps tag (visible in the code via Performance Test Selection: |
|



Description
This PR adds e2e coverage for analytics events fired during the unified onramps flow.
Events checked:
Changelog
CHANGELOG entry:
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MMQA-1425
Manual testing steps
N/A
Screenshots/Recordings
N/A
Before
N/A
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Test-only changes that add stricter analytics assertions; risk is mainly increased e2e flakiness if event schemas or timing change.
Overview
Adds analytics verification to the
onramp-unified-buysmoke test by capturing Segment/MetaMetrics events from the mock server at teardown and asserting expected events were emitted.Introduces a second test that soft-asserts required properties and key values for
Ramps Button ClickedandRamps Token Selected, including region parsing/validation and routing/token/network expectations for the unified buy flow.Written by Cursor Bugbot for commit e7e25eb. This will update automatically on new commits. Configure here.