-
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(TXL-308): initial e2e for stx using swaps #27215
base: develop
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. |
Quality Gate passedIssues Measures |
privacy-snapshot.json
Outdated
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.
Diff summary
Added:
- "crypto.com"
- "transaction.api.cx.metamask.io"
- "verify.walletconnect.com"
Builds ready [fff9e5d]
Page Load Metrics (1917 ± 67 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [ad69471]
Page Load Metrics (1844 ± 110 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [b0c6e80]
Page Load Metrics (1839 ± 104 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [db9d7f3]
Page Load Metrics (1695 ± 69 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
test/e2e/tests/swaps/shared.ts
Outdated
const summary = await driver.waitForSelector( | ||
'[data-testid="exchange-rate-display-quote-rate"]', | ||
); | ||
const summaryText = await summary.getText(); | ||
console.log('============\nsummaryText\n============', { |
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.
Do we want to remove this one?
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.
test/e2e/mock-e2e.js
Outdated
mobileActive: true, | ||
extensionActive: true, | ||
}, | ||
localhost: { |
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.
Do we still need this?
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.
method: 'eth_getBalance', | ||
params: ['0x5cfe73b6021e818b776b421b1c4db2474086a7e1'], | ||
}) | ||
// .once() |
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.
Can we remove this commented code here and in other places?
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.
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.
LGTM!
Spoke with @matthewwalsh0 and will attack these two tasks in follow-up PRs:
|
Builds ready [06d4b97]
Page Load Metrics (1826 ± 97 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [bfcc184]
Page Load Metrics (1712 ± 103 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
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.
✅✅✅
LGTM ! |
privacy-snapshot.json
Outdated
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.
Where are these calls coming from?
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.
I see that transaction.api.cx.metamask.io
is used for smart transactions, and has e2e fetch mocks.
But it's unclear to me why the other two domains have been added, and I don't see any mocks for them.
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.
Had a couple of questions about the privacy snapshot
d731f26
Quality Gate passedIssues Measures |
Description
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist