-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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: add e2e for transaction decoding #28204
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 [9da176e]
Page Load Metrics (1862 ± 43 ms)
Bundle size diffs
|
import { RawLocator } from '../../../common'; | ||
import TransactionConfirmation from './transaction-confirmation'; | ||
|
||
class AdvancedDetailsTransactionConfirmation extends TransactionConfirmation { |
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.
These properties and methods could live directly inside TransactionConfirmation
, since all transaction confirmations have the advanced details related to this test.
This way, one could refer to the methods on this class directly, but also from any of the confirmation screen classes that extend it, such as SetApprovalForAllTransactionConfirmation
or TokenTransferTransactionConfirmation
.
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
Builds ready [57370e1]
Page Load Metrics (1872 ± 68 ms)
Bundle size diffs
|
Builds ready [744b726]
Page Load Metrics (1898 ± 91 ms)
Bundle size diffs
|
Builds ready [5072011]
Page Load Metrics (2002 ± 112 ms)
Bundle size diffs
|
61a6179
Builds ready [209cb00]
Page Load Metrics (1776 ± 82 ms)
Bundle size diffs
|
Description
Adds test for checking transaction decoding for contract interaction from 4bytes, sourcify and uniswap
Also adds tests to verify when all of the above fails then it falls back to the raw hexdata
Adds a data-testId to make e2e easier
Related issues
Fixes: #2877
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist