metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

fix: sets data marketing to false in case of non-selection

Open jonybur opened this issue 1 year ago • 2 comments

Description

Avoids showing the experience enhancer modal after onboarding.

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2704

Manual testing steps

  1. Onboard
  2. User should not see experience enhancer after onboarding

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

jonybur avatar Jun 27 '24 22:06 jonybur

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.

github-actions[bot] avatar Jun 27 '24 22:06 github-actions[bot]

https://bitrise.io/ 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_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

github-actions[bot] avatar Jul 17 '24 22:07 github-actions[bot]

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.

codecov-commenter avatar Jul 18 '24 15:07 codecov-commenter

@jonybur can we include recordings on this video on what was tested?

tommasini avatar Jul 23 '24 17:07 tommasini

https://bitrise.io/ 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_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

github-actions[bot] avatar Jul 25 '24 23:07 github-actions[bot]

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

hesterbruikman avatar Jul 26 '24 18:07 hesterbruikman