fix: Flaky test to support changes introduced in PR 23155#24195
fix: Flaky test to support changes introduced in PR 23155#24195hjetpoluru merged 11 commits intodevelopfrom
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. |
|
@hjetpoluru I think it makes more sense to use |
|
@HowardBraham Thank you, that actually works and it's faster. Also, I thought that function was only for scroll bars but now I've learned it's for any elements. I am pushing the change. |
|
@hjetpoluru I think you don't even need the try/catch now. Have not actually tested myself. |
|
@HowardBraham , yes I agree and tested locally. |
Builds ready [0a8596e]
Page Load Metrics (1303 ± 649 ms)
Bundle size diffs
|
Builds ready [9944376]
Page Load Metrics (1075 ± 596 ms)
Bundle size diffs
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #24195 +/- ##
===========================================
- Coverage 67.56% 67.46% -0.11%
===========================================
Files 1246 1258 +12
Lines 48888 49236 +348
Branches 12746 12818 +72
===========================================
+ Hits 33031 33213 +182
- Misses 15857 16023 +166 ☔ View full report in Codecov by Sentry. |
…tension into fix-flaky-test-1722
Builds ready [42bbee2]
Page Load Metrics (1048 ± 579 ms)
Bundle size diffs
|
|
Missing release label release-11.15.0 on PR. Adding release label release-11.15.0 on PR and removing other release labels(release-11.16.0), as PR was cherry-picked in branch 11.15.0. |
Description
Change in the PR fixes the flaky test CircleCI job - test-e2e-chrome-vault-decryption
https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/77436/workflows/983b4b1c-104a-4acc-ad35-36fe09a03a29/jobs/2685234
Related issues
Fixes:
#24180
#1722
Manual testing steps
Run the test in codespace or locally --> Checkout to the branch
yarn
yarn dist
yarn test:e2e:single test/e2e/vault-decryption-chrome.spec.js --browser=chrome
Pre-merge author checklist
Pre-merge reviewer checklist