chore: removed extra locator for save changes button and changed to the actual one in a couple of tests
This commit is contained in:
parent
6823b1f5e2
commit
a962014c58
|
@ -10,7 +10,7 @@ class ChangesDetectedToastMessage(QObject):
|
|||
def __init__(self):
|
||||
super(ChangesDetectedToastMessage, self).__init__(
|
||||
names.mainWindow_settingsDirtyToastMessage_SettingsDirtyToastMessage)
|
||||
self._save_button = Button(names.settingsSave_StatusButton)
|
||||
self._save_button = Button(names.mainWindow_Save_changes_StatusButton)
|
||||
|
||||
@allure.step('Save changes')
|
||||
def save(self):
|
||||
|
|
|
@ -352,7 +352,6 @@ linksView = {"container": statusDesktop_mainWindow, "id": "linksView", "type": "
|
|||
|
||||
# Changes detected popup
|
||||
mainWindow_settingsDirtyToastMessage_SettingsDirtyToastMessage = {"container": ":statusDesktop_mainWindow", "id": "settingsDirtyToastMessage", "type": "SettingsDirtyToastMessage", "unnamed": 1, "visible": True}
|
||||
settingsSave_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "settingsDirtyToastMessageSaveButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Back up seed phrase banner
|
||||
mainWindow_secureYourSeedPhraseBanner_ModuleWarning = {"container": statusDesktop_mainWindow, "objectName": "secureYourSeedPhraseBanner", "type": "ModuleWarning", "visible": True}
|
||||
|
|
|
@ -19,7 +19,7 @@ class ProfileSettingsView(QObject):
|
|||
super().__init__(names.mainWindow_MyProfileView)
|
||||
self._scroll_view = Scroll(names.settingsContentBaseScrollView_Flickable)
|
||||
self._display_name_text_field = TextEdit(names.displayName_TextEdit)
|
||||
self._save_button = Button(names.settingsSave_StatusButton)
|
||||
self._save_button = Button(names.mainWindow_Save_changes_StatusButton)
|
||||
self._bio_text_field = TextEdit(names.bio_TextEdit)
|
||||
self._add_more_links_label = TextLabel(names.addMoreSocialLinks)
|
||||
self._links_list = QObject(names.linksView)
|
||||
|
|
Loading…
Reference in New Issue