-
Notifications
You must be signed in to change notification settings - Fork 52
Adds Anvil-based deposit E2E tests #1066
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
Open
at0m1x19
wants to merge
75
commits into
status-im:main
Choose a base branch
from
at0m1x19:933-ui-tests-for-SN-Hub_anvil_tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
7c65c10
Add E2E tests and fixtures for MetaMask wallet integration and Pre-De…
be94620
Enhance MetaMask notification handling and improve E2E test robustness
2deb4eb
Add pnpm workspace file for E2E test setup
5e7a0fb
chore(hub): add changeset
JulesFiliot d7816f3
Refactor timeout configurations and relocate Pre-Deposits E2E test un…
6bb7a2e
Reorganize E2E configuration and workflows; refactor imports and envi…
7ce5425
Refactor E2E environment handling: centralize env types, simplify `En…
1a4df5c
Add E2E tests for deposit flows with network switching and validation
fb2a81b
Refactor timeout configurations across components and tests; standard…
ef167a2
Refactor MetaMask extension download: use specific versioning, remove…
6c31b9d
Remove `pnpm-lock.yaml` and refactor Pre-Deposits E2E test imports an…
4e92d6a
chore: add empty changeset for CI
cd0d31b
Refactor MetaMask connection approval: simplify button handling and r…
2c94b1f
Refactor Pre-Deposit E2E tests: use shared chain ID constants and upd…
dd417fa
refactor: extract chain constants and use flexible node version in CI
4af12d8
Refactor e2e tests: centralize MetaMask network switching and SIWE di…
0944d69
Integrate Anvil local forks for deposit tests, extend MetaMask and E2…
5e1278f
Add below-minimum validation tests for WETH, SNT, and LINEA vault dep…
34b3cb4
Add comprehensive E2E tests for WETH, SNT, and LINEA vault deposits, …
f23ec9e
Enhance Anvil fixture to handle raw STX transactions for Linea, exten…
f908d7e
Enhance MetaMask and Anvil fixtures: streamline popup handling, impro…
aaca3c5
Add resetAllowance helper and update GUSD Pre-Deposit tests with cont…
102fd10
Enhance MetaMask and Anvil fixtures: improve retry logic for button d…
6b84784
Remove e2e folder, unused test utilities, MetaMask helpers, and const…
4e4b47c
Replace setup-anvil.sh with a Dockerized Anvil setup, update related …
cfcbf6f
Extend Anvil and MetaMask fixtures with enhanced retry logic and addi…
d9fb650
Remove deprecated MetaMask pages, fixtures, and helpers, clean up unu…
6afc0ca
Unify below-minimum deposit validation tests for WETH, SNT, and LINEA…
7a66a5c
Refactor MetaMask notification handling: streamline comments, improve…
cbe8122
Fix E2E workflow: update MetaMask version extraction with corrected s…
09043db
Update Hub RPC configuration: add support for custom RPC endpoints an…
2f768c0
Refactor network switch handling in pre-deposit modal: add `waitForNe…
200a104
Remove `e2e/CODE_REVIEW.md` to clean up deprecated documentation.
c582526
Refactor E2E codebase: remove semicolons for consistency, streamline …
cb495d5
Restore e2e patch entry in changeset
db0756f
Remove orphaned duplicate files, fix vault import path and WETH name …
398b65d
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 1ea22ac
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 998bc54
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 0e089ca
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 9da4eea
Merge remote-tracking branch 'origin/main' into pr/at0m1x19/1066
felicio a4d5d40
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 61d0ee0
Add Linea fork block mining step and update test path in e2e README
397faf1
t
felicio 6e45bff
u
felicio b92b4bc
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 8b9f335
Improve MetaMask notification handling: add `isClosed` checks to prev…
4b863d7
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 3b802be
Refactor E2E constants and tests: introduce reusable `CHAIN_ID_*` con…
7ac2df8
Refactor notification page handling: replace page reopening logic wit…
43eecf7
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 e9580a7
Merge main to resolve pnpm-lock.yaml conflict
d6466d3
Improve MetaMask connection resilience and add diagnostic logging
a4558af
Improve notification page handling: replace reload logic with close+r…
664104f
Enhance MetaMask notification handling: add toast dismissal logic to …
fb3c078
Improve MetaMask notification handling: enhance toast dismissal logic…
c66ac8e
Merge main to resolve chain.ts and env.client.mjs conflicts
c70bd41
Add timing logs for onboarding and Anvil setup to diagnose slow tests
ec9a645
Add granular timing for Anvil revert/snapshot to diagnose slow tests
775741f
Optimize AnvilRpcHelper with global slot caching to reduce redundant …
1941127
Add eRPC service integration to docker-compose for enhanced RPC handl…
ee54655
Add diagnostic timing logs for browser launch and waitConfirmable
2c6c4c4
Merge main to resolve pnpm-lock.yaml conflict
69ae788
fix(hub): drop manual gas estimation in GUSD pre-deposit
ccf8f83
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 8904cde
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 45466ef
mock(e2e): add eth_estimateGas handler to improve gas estimation reli…
f81ba2d
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 5d23d58
chore: add empty changeset for CI
98825e5
test(hub): add e2e support for anvil deposit hooks and refactor const…
4f63ba4
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 0855cc1
fix(e2e): enforce single worker configuration in anvil.fixture due to…
6d6b759
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 7353fb9
Merge branch 'main' into 933-ui-tests-for-SN-Hub_anvil_tests
at0m1x19 2d7c37e
fix(e2e): route puzzle-auth RPC proxy paths to Anvil forks
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| 'hub': patch | ||
| --- | ||
|
|
||
| test(hub): support e2e anvil deposit flows in deposit hooks |
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.