test: Enable single test execution across multiple browsers#23357
Merged
hjetpoluru merged 27 commits intodevelopfrom Mar 26, 2024
Merged
test: Enable single test execution across multiple browsers#23357hjetpoluru merged 27 commits intodevelopfrom
hjetpoluru merged 27 commits intodevelopfrom
Conversation
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. |
Contributor
|
A few comments:
|
Contributor
Author
|
Thanks @HowardBraham, I have addressed your comments. |
141797d to
5b1bc8e
Compare
Contributor
|
Sorry, noticed three more things:
|
Collaborator
Builds ready [5b1bc8e]
Page Load Metrics (951 ± 411 ms)
Bundle size diffs
|
Contributor
|
Not sure if it's the best approach, but could we set the default parameter to "all"? This way, if a user runs an e2e test without specifying a browser, it would automatically execute the tests on both browsers, similar to when we explicitly pass "all" as the parameter. |
…aMask/metamask-extension into test/run-single-test-across-browsers
… test/run-single-test-across-browsers
… test/run-single-test-across-browsers
Collaborator
Builds ready [7672e5f]
Page Load Metrics (787 ± 451 ms)
Bundle size diffs
|
Collaborator
Builds ready [0303490]
Page Load Metrics (512 ± 407 ms)
Bundle size diffs
|
HowardBraham
approved these changes
Mar 25, 2024
DDDDDanica
approved these changes
Mar 25, 2024
Collaborator
Builds ready [7400843]
Page Load Metrics (1159 ± 519 ms)
Bundle size diffs
|
Collaborator
Builds ready [23a9eb9]
Page Load Metrics (1004 ± 599 ms)
Bundle size diffs
|
seaona
approved these changes
Mar 26, 2024
Member
|
nice addition. LGTM |
brad-decker
approved these changes
Mar 26, 2024
Collaborator
Builds ready [218f6fd]
Page Load Metrics (962 ± 514 ms)
Bundle size diffs
|
Collaborator
Builds ready [17eb408]
Page Load Metrics (914 ± 531 ms)
Bundle size diffs
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR is to execute single test across multiple browsers(chrome and firefox) locally.
E2E debug is now true by default
Updated ReadMe for the specific changes
Note:- I attempted to convert this to a TypeScript file but was unsuccessful, also it's used internally and hence it should be fine.
Manual testing steps
Run the test in codespace or locally --> Checkout to the branch
yarn install
yarn build:test
yarn test:e2e:single test/e2e/tests/network/update-network.spec.ts --browser=all --debug --leave-running
Without the browser
yarn test:e2e:single test/e2e/tests/network/update-network.spec.ts
Pre-merge author checklist
Pre-merge reviewer checklist