Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Conversation

@Valentina1133
Copy link
Contributor

@Valentina1133 Valentina1133 commented Jan 15, 2024

Screenshot 2024-01-15 at 18 44 45

@Valentina1133 Valentina1133 force-pushed the chore/fix_nightly_tests branch 2 times, most recently from 01cbf94 to 5a9380a Compare January 15, 2024 11:46
with step('Fill in the form and preferred networks and add the address'):
add_saved_address_popup.add_saved_address(name, address)

with step('Verify recently added saved address is present in the list'):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the reason i was checking the toast message before checking the list is that toast message disappears quickly so perhaps it is better to check the toast first which appears right away when you click the Add button and then verify the list of addresses, wdyt @Valentina1133 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it on purpose, because after some changes in the app the toast message appears not so quickly and it’s better to check first that the address appeared. You can check it in nightly runs. Unfortunately we cannot add wait for for toast message , so this is the only option I found. If you have more ideas let me know I will try it

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, thats perfect then :)

savedAddressView_Delegate = {"container": mainWallet_Saved_Addreses_List, "objectName": RegularExpression("savedAddressView_Delegate*"), "type": "SavedAddressesDelegate", "visible": True}
send_StatusRoundButton = {"container": "", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
savedAddressView_Delegate_menuButton = {"container": mainWindow_SavedAddressesView, "objectName": RegularExpression("savedAddressView_Delegate_menuButton*"), "type": "StatusRoundButton", "visible": True}
savedAddresses_area = {"container": mainWindow_SavedAddressesView, "type": "SavedAddresses", "unnamed": 1, "visible": True}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in case we can add an object name for that - i think we should go with it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added) Created PR - status-im/status-desktop#13216 and also changed in object map

@anastasiyaig anastasiyaig removed the request for review from borismelnik January 16, 2024 06:03
@Valentina1133 Valentina1133 force-pushed the chore/fix_nightly_tests branch from 5a9380a to 673ce98 Compare January 16, 2024 07:04
@Valentina1133 Valentina1133 merged commit 081b340 into master Jan 16, 2024
@Valentina1133 Valentina1133 deleted the chore/fix_nightly_tests branch January 16, 2024 07:42
@Valentina1133 Valentina1133 linked an issue Jan 16, 2024 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix saved addresses tests

3 participants