metamask-mobile
metamask-mobile copied to clipboard
fix: sets data marketing to false in case of non-selection
Description
Avoids showing the experience enhancer modal after onboarding.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2704
Manual testing steps
- Onboard
- User should not see experience enhancer after onboarding
Screenshots/Recordings
Before
After
Pre-merge author checklist
- [ ] I’ve followed MetaMask Contributor Docs and MetaMask Mobile Coding Standards.
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using JSDoc format if applicable
- [ ] I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
Pre-merge reviewer checklist
- [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
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.
Bitrise
✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅
Commit hash: 7c25a023ad805e5536ae84201df5e60323512b66 Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/2ccc935c-0ad8-43bb-8f94-354c2f8d967e
[!NOTE]
- You can kick off another
pr_smoke_e2e_pipelineon Bitrise by removing and re-applying theRun Smoke E2Elabel on the pull request
Codecov Report
Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
Project coverage is 49.78%. Comparing base (
4b9f31c) to head (c21ca73). Report is 7 commits behind head on main.
| Files | Patch % | Lines |
|---|---|---|
| app/components/UI/OptinMetrics/index.js | 66.66% | 2 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #10154 +/- ##
==========================================
- Coverage 49.78% 49.78% -0.01%
==========================================
Files 1437 1437
Lines 34762 34813 +51
Branches 3921 3928 +7
==========================================
+ Hits 17307 17330 +23
- Misses 16354 16381 +27
- Partials 1101 1102 +1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@jonybur can we include recordings on this video on what was tested?
Bitrise
✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅
Commit hash: 5da5f36c858e32f972c34c4060d3acfdde44dbdc Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/8278c9bb-c21c-40cf-983b-366e3bd61b1f
[!NOTE]
- You can kick off another
pr_smoke_e2e_pipelineon Bitrise by removing and re-applying theRun Smoke E2Elabel on the pull request
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
56.2% Coverage on New Code
0.0% Duplication on New Code
Recording of following test scenario:
- Fresh onboard
- Marketing consent opt-in checkbox is shown:
Deny marketing consent during onboarding
https://github.com/user-attachments/assets/d7cfe8ac-8038-4d4f-b0cb-23cd09587ab6
Opt in to marketing consent during onboarding
Note that this video shows the checkbox as pre-checked. This is not the actual behavior; it's because I forgot to start recording and had already checked it
https://github.com/user-attachments/assets/7819b5d2-c851-48d9-a1b2-d4e051e36325