chore: change locator for InsertDetailsView

This commit is contained in:
Anastasiya Semenkevich 2023-12-27 16:36:51 +03:00 committed by Anastasiya
parent 1356df4838
commit 55ebd85637
2 changed files with 1 additions and 2 deletions

View File

@ -62,7 +62,7 @@ mainWindow_Plug_in_Keycard_reader_StatusBaseText = {"container": mainWindow_Keyc
"unnamed": 1, "visible": True}
# Your Profile View
mainWindow_InsertDetailsView = {"container": statusDesktop_mainWindow, "type": "InsertDetailsView", "unnamed": 1, "visible": True}
mainWindow_InsertDetailsView = {"container": statusDesktop_mainWindow, "objectName": "onboardingInsertDetailsView", "type": "InsertDetailsView", "visible": True}
updatePicButton_StatusRoundButton = {"container": mainWindow_InsertDetailsView, "id": "updatePicButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
mainWindow_CanvasItem = {"container": mainWindow_InsertDetailsView, "type": "CanvasItem", "unnamed": 1, "visible": True}
mainWindow_IdenticonRing = {"container": statusDesktop_mainWindow, "type": "StatusIdenticonRing", "unnamed": 1, "visible": True}

View File

@ -69,7 +69,6 @@ def test_generate_new_keys(main_window, keys_screen, user_name: str, password, u
with step('Open emojihash and identicon ring profile screen and capture the details'):
details_view = profile_view.next()
chat_key = details_view.get_chat_key
# TODO: replace with the public key value verification
emoji_hash_public_key = details_view.get_emoji_hash
assert details_view.is_identicon_ring_visible, f'Identicon ring is not present when it should'
details_view.back().next()