-
Notifications
You must be signed in to change notification settings - Fork 78
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(@wallet): Add test for toggling network & balance #6868
Conversation
Jenkins BuildsClick to see older builds (23)
|
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.
Good job. Could you just fix the typos and if you want change the name
test/ui-test/testSuites/suite_status/shared/steps/walletSteps.py
Outdated
Show resolved
Hide resolved
test/ui-test/testSuites/suite_status/shared/steps/walletSteps.py
Outdated
Show resolved
Hide resolved
959671b
to
467a08e
Compare
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.
Test fails for me in 2 different ways:
- It does not find the
Ropsten
network name. - It does not find the
symbol
.
Here a video for better understanding (first 2 runs, no network found, 3rd, no symbol found):
Screen.Recording.2022-08-09.at.11.41.46.mov
if list.itemAt(index).objectName == network_name: | ||
click_obj(list.itemAt(index)) | ||
click_obj_by_name(MainWalletScreen.ACCOUNT_NAME.value) | ||
time.sleep(2) |
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.
Why is this needed?
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.
Because switching network takes time, there is async task doing all the recalculation
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.
And could we squish.waitFor
something instead??
467a08e
to
f010c69
Compare
Test might fail because of infura api key usage limit |
fc99900
to
074b08f
Compare
074b08f
to
2195a27
Compare
fixes #6819