-
Notifications
You must be signed in to change notification settings - Fork 991
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
e2e: wallet tests added #19477
e2e: wallet tests added #19477
Conversation
Jenkins BuildsClick to see older builds (18)
|
396bf71
to
d303ece
Compare
90% of end-end tests have passed
Failed tests (2)Click to expandClass TestWalletOneDevice:
Class TestCommunityMultipleDeviceMergedTwo:
Expected to fail tests (3)Click to expandClass TestCommunityOneDeviceMerged:
Class TestWalletMultipleDevice:
Passed tests (47)Click to expandClass TestDeepLinksOneDevice:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityOneDeviceMerged:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestWalletOneDevice:
Class TestActivityMultipleDevicePRTwo:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePR:
|
d303ece
to
c6c8622
Compare
50% of end-end tests have passed
Not executed tests (48)Expected to fail tests (2)Click to expandClass TestWalletMultipleDevice:
Passed tests (2)Click to expandClass TestWalletOneDevice:
|
|
||
# ToDo: Add verification of Activity tabs when the feature is ready in the next 2 tests: | ||
|
||
def _get_balances_before_tx(self): |
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.
are you sure it is worth having it here, not in a separate file?
I believe it might be used in subsequent tests too?
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'd rather leave as it is for now as it's needed only here. If we'll use in other files we can move it later
self.home_2.wallet_tab.click() | ||
new_eth_amount_receiver = self.wallet_2.get_asset(asset_name='Ether').get_amount() | ||
exp_amount_sender = eth_amount_sender - amount_to_send | ||
if new_eth_amount_sender > exp_amount_sender: |
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.
are we cure that in this place cannot be delay in updating the balance inside the app?
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.
Not yet, I'll add it later
new_eth_amount_receiver, exp_amount_receiver)) | ||
self.errors.verify_no_errors() | ||
|
||
@marks.xfail(reason="Can't find routes on Sepolia https://github.com/status-im/status-mobile/issues/19473", |
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.
would be nice to check if it passed on #19483, thanks!
self.errors.verify_no_errors() | ||
|
||
@marks.testrail_id(727232) | ||
def test_wallet_add_remove_watch_only_account(self): |
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.
may be we can add some interesting account here and check collectibles, some unusual assets etc.
Can be done later I believe
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.
Totally agree, but it seems that not all the functionality is ready yet.
except JSONDecodeError as e: | ||
self.log("No valid JSON response from Etherscan: %s " % str(e)) | ||
pass | ||
time.sleep(30) |
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 do not exactly remember why we had it here, it might be due to some limitation on etherscan API. Are you sure that we need to remove it?
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.
We can add it anytime. For now I decided not to use it because of the time limits. Current api key limits should be enough for current amount of requests
23f1b1a
to
ef6d1e2
Compare
75% of end-end tests have passed
Failed tests (1)Click to expandClass TestWalletMultipleDevice:
Passed tests (3)Click to expandClass TestWalletOneDevice:
Class TestWalletMultipleDevice:
|
ef6d1e2
to
e532d7d
Compare
100% of end-end tests have passed
Passed tests (4)Click to expandClass TestWalletMultipleDevice:
Class TestWalletOneDevice:
|
e532d7d
to
918b98e
Compare
918b98e
to
5bff89a
Compare
No description provided.