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: Consolidate and simplify isTest condition #9038

Merged
merged 9 commits into from
Mar 29, 2024

Conversation

Cal-L
Copy link
Contributor

@Cal-L Cal-L commented Mar 22, 2024

Description

These changes both simplifies and consolidates the isTest condition, which is mainly used for automated testing

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask 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.

@Cal-L Cal-L requested a review from a team as a code owner March 22, 2024 19:20
Copy link
Contributor

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.

@Cal-L Cal-L added the No QA Needed/E2E Only Apply this label when your PR does not need any QA effort. label Mar 22, 2024
@Cal-L Cal-L requested review from a team as code owners March 23, 2024 07:06
@Cal-L Cal-L added the Run Smoke E2E Triggers smoke e2e on Bitrise label Mar 24, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 24, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 45.30%. Comparing base (543d671) to head (0056d45).

Files Patch % Lines
app/core/SDKConnect/utils/wait.util.ts 0.00% 1 Missing ⚠️
app/util/sentry/utils.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9038      +/-   ##
==========================================
- Coverage   45.55%   45.30%   -0.26%     
==========================================
  Files        1272     1272              
  Lines       31238    31238              
  Branches     3189     3189              
==========================================
- Hits        14232    14153      -79     
- Misses      16167    16245      +78     
- Partials      839      840       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Mar 24, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 32b63ba
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/9b22d851-22ca-4578-9560-f15e85a5d5fc

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

@Cal-L Cal-L added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Mar 24, 2024
Copy link
Contributor

github-actions bot commented Mar 24, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 2c9f8bc
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/913578d8-2614-43bf-bf89-a03a005bae3c

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

@Cal-L Cal-L added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Mar 24, 2024
Copy link
Member

@cortisiko cortisiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ ✅ ✅

@cortisiko cortisiko added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Mar 28, 2024
Copy link
Contributor

github-actions bot commented Mar 28, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 0056d45
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/407da45a-4694-4a9e-8373-bb025430ef22

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

@cortisiko cortisiko added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Mar 29, 2024
Copy link
Contributor

github-actions bot commented Mar 29, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 4da23e3
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/67fa56da-7664-4d1e-989d-6c718b7331b0

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

Copy link

sonarcloud bot commented Mar 29, 2024

@Cal-L Cal-L merged commit bf87b58 into main Mar 29, 2024
35 checks passed
@Cal-L Cal-L deleted the chore/simplify-test-condition branch March 29, 2024 18:41
@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2024
@metamaskbot metamaskbot added the release-7.20.0 Issue or pull request that will be included in release 7.20.0 label Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
No QA Needed/E2E Only Apply this label when your PR does not need any QA effort. release-7.20.0 Issue or pull request that will be included in release 7.20.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants