-
Notifications
You must be signed in to change notification settings - Fork 5.4k
test: Skip tests that will fail once BIP44 is turned on #37832
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
base: main
Are you sure you want to change the base?
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. |
✨ Files requiring CODEOWNER review ✨👨🔧 @MetaMask/wallet-integrations (2 files, +6 -3)
|
test/e2e/tests/confirmations/transactions/gas-fee-tokens-eip-7702-sponsored.spec.ts
Show resolved
Hide resolved
gantunesr
left a comment
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.
Looks good! @owencraston will send a message to all team to update these E2E tests, once that is done we can approve this PR
| const SHORTENED_EOA_ADDRESS = '0xd8dA6...96045'; | ||
| const DEFAULT_WATCHED_ACCOUNT_NAME = 'Watched Account 1'; | ||
|
|
||
| describe('Account-watcher snap', function (this: Suite) { |
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.
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.
Done
14c3ce3 to
0d039de
Compare
Builds ready [0d039de]
UI Startup Metrics (1271 ± 95 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
|
These tests were skipped :
Creating a watch account with EOA address is no longer possible with current UI
flask/create-watch-account.spec.ts#37563
The following e2e test script will fail with message
Error invoking methodflask/multichain-api/non-evm/wallet_invokeMethod.spec.ts#37691
Tthe script tries to create a wallet session from the Mutlichin API test dapp I see the confirmation screen crash with error
Invalid CAIP chain IDflask/multichain-api/evm/wallet_invokeMethod.spec.ts#37821
These tests fail with with uncaught exception
flask/solana-wallet-standard/transaction_sol.spec.tsflask/solana-wallet-standard/transaction_wsol.spec.tsflask/solana-wallet-standard/signMessage.spec.ts#37690
When sending a transaction to dApp with BIP44 the confirmation crashes
test/e2e/flask/user-operations.spec.ts#37823
Skipping these tests becasue on BIP44 EIP-7702 not supported on chain: 0x539
test/e2e/tests/confirmations/transactions/eip7702-eip5792-upgrade-account.spec.tsWhen
eth_sendTransactionrequest is sent and the gas fee are paid in USDC or by Metamask, that's not showing on the confirmation dialogconfirmations/transactions/gas-fee-tokens-eip-7702.spec.tsconfirmations/transactions/gas-fee-tokens-eip-7702-sponsored.spec.ts#37677
The problem with these Solana tests is that mocking Solana network responses no longer works.
test/e2e/tests/send/send-solana.spec.tstest/e2e/tests/solana/check-balance.spec.tstest/e2e/tests/solana/send-flow.spec.tstest/e2e/tests/solana/transaction-activity-list.spec.ts#37824
With BIP44 tokens in the wallet cannot be sorted (might be in production too)
tokens/token-sort.spec.ts#37687
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Marks multiple E2E suites/tests as skipped across watch accounts, Multichain API, Solana flows, User Operations, EIP-7702, and token sorting due to known issues/feature-flag conflicts.
test/e2e/flask/create-watch-account.spec.ts(EOA watch flows) due to BIP44 limitation.EIP-5792 Methodsblock inflask/multichain-api/evm/wallet_invokeMethod.spec.ts(EIP-7702 crash).flask/multichain-api/non-evm/wallet_invokeMethod.spec.ts(Solana signIn/signAndSend).signMessage.spec.ts,transaction_sol.spec.ts,transaction_wsol.spec.ts(exceptions under BIP44).test/e2e/flask/user-operations.spec.ts(confirmation crash).eip7702-eip5792-upgrade-account.spec.ts(unsupported on chain 0x539).gas-fee-tokens-eip-7702.spec.tsandgas-fee-tokens-eip-7702-sponsored.spec.ts(fee display issues).send-solana.spec.ts, most ofcheck-balance.spec.ts(non-zero cases),send-flow.spec.ts,transaction-activity-list.spec.ts(mocking disabled with BIP44).tokens/token-sort.spec.ts(alphabetical sorting bug).Written by Cursor Bugbot for commit 0d039de. This will update automatically on new commits. Configure here.