Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Cherry pick data deletion into v12.6.0 #28223

Merged
merged 1 commit into from
Oct 31, 2024

Commits on Oct 31, 2024

  1. test: Fix data deletion e2e tests (#28221)

    ## **Description**
    
    The "Delete MetaMetrics Data" e2e tests were recently broken due to a
    change in CI configuration. The code-under-test was written to always
    use the environment variable present for the data deletion source ID and
    endpoint, but the e2e tests wrongly assumed that it would never be
    present.
    
    The service has been updated to use the fallback values for e2e test
    builds, even if the environment variable is present.
    
    [![Open in GitHub
    Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/28221?quickstart=1)
    
    ## **Related issues**
    
    Fixes CI failure currently on all branches (e.g.
    https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/108823/workflows/cbc57b89-8647-4219-b413-24df4fdad95c/jobs/4070258
    )
    
    This bug was introduced in #24503, but only began causing failures
    recently when CI configuration was updated with these new environment
    variables.
    
    ## **Manual testing steps**
    
    See that the data deletion e2e tests succeed even with both data
    deletion environment variables set.
    
    ## **Screenshots/Recordings**
    
    N/A
    
    ## **Pre-merge author checklist**
    
    - [x] I've followed [MetaMask Contributor
    Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
    Extension Coding
    Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
    - [x] I've completed the PR template to the best of my ability
    - [x] I’ve included tests if applicable
    - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
    if applicable
    - [x] I’ve applied the right labels on the PR (see [labeling
    guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
    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.
    Gudahtt authored and hjetpoluru committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    84207b7 View commit details
    Browse the repository at this point in the history