-
Notifications
You must be signed in to change notification settings - Fork 5k
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
test: snap account contract interaction #26234
test: snap account contract interaction #26234
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. |
Builds ready [ec5bed6]
Page Load Metrics (75 ± 24 ms)
Bundle size diffs
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #26234 +/- ##
========================================
Coverage 70.13% 70.13%
========================================
Files 1435 1435
Lines 50309 50309
Branches 13897 13897
========================================
Hits 35283 35283
Misses 15026 15026 ☔ View full report in Codecov by Sentry. |
Builds ready [aaf9fa7]
Page Load Metrics (203 ± 248 ms)
Bundle size diffs
|
@@ -745,7 +745,7 @@ const PRIVATE_KEY = | |||
'0x7C9529A67102755B7E6102D6D950AC5D5863C98713805CEC576B945B15B71EAC'; | |||
|
|||
const PRIVATE_KEY_TWO = | |||
'0xa444f52ea41e3a39586d7069cb8e8233e9f6b9dea9cbb700cce69ae860661cc8'; | |||
'0xf444f52ea41e3a39586d7069cb8e8233e9f6b9dea9cbb700cce69ae860661cc8'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected the PRIVATE_KEY_TWO to ensure that we create the public address specified as ACCOUNT_2, rather than using public address 0x66ba6a97bf7e686c171cae1b754bca1521888dc1 (which is what the a
gave us.
Builds ready [e1b9d41]
Page Load Metrics (464 ± 399 ms)
Bundle size diffs
|
2c22a99
to
a682167
Compare
Builds ready [a682167]
Page Load Metrics (241 ± 250 ms)
Bundle size diffs
|
Co-authored-by: Gustavo Antunes <[email protected]>
6b4e266
to
fd3ac1b
Compare
Quality Gate passedIssues Measures |
Builds ready [fd3ac1b]
Page Load Metrics (71 ± 10 ms)
Bundle size diffs
|
Builds ready [fd3ac1b]
Page Load Metrics (71 ± 10 ms)
Bundle size diffs
|
Description
This PR will introduce an e2e test for a snap account interacting with a contract via the test dapp.
Related issues
Fixes: 470
Manual testing steps
yarn build:test:mv2
thenENABLE_MV3=false yarn test:e2e:single test/e2e/accounts/snap-account-contract-interaction.spec.ts --browser=firefox
yarn build:test
thenyarn test:e2e:single test/e2e/accounts/snap-account-contract-interaction.spec.ts --browser=chrome
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist