-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: Refactor Advanced Gas fees test to utilize mocks #11927
base: main
Are you sure you want to change the base?
Conversation
Bitrise✅✅✅ Commit hash: 55bb507 Note
|
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.
nice stuff! small feedback
|
||
class AmountView { | ||
get currencySwitch() { |
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 recall we had a specific use case for this. Unfortunately, the test that used this test step was deleted
await AmountView.tapCurrencySwitch(); |
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
e2e/pages/Send/AmountView.js
Outdated
@@ -26,9 +29,5 @@ class AmountView { | |||
? await Gestures.typeTextAndHideKeyboard(this.amountInputField, amount) | |||
: await Gestures.replaceTextInField(this.amountInputField, amount); | |||
} | |||
|
|||
async tapCurrencySwitch() { |
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 recall we had a specific use case for this. Unfortunately, the test that used this test step was deleted
await AmountView.tapCurrencySwitch(); |
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
Bitrise✅✅✅ Commit hash: 48520e2 Note
|
48520e2
to
f1119f9
Compare
Quality Gate passedIssues Measures |
Description
The advanced gas fees tests are becoming a bit unstable within the smoke pipeline mainly because we are relying on real funds (Sepolia ETH) to submit the transaction. With the recent addition of mocking, we should refactor the advanced gas fees tests to:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist