chore: fix reference in permission test
This commit is contained in:
parent
da7f01eec2
commit
99716937f4
|
@ -2,7 +2,7 @@ import allure
|
|||
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import names, communities_names
|
||||
|
||||
|
||||
class ChangesDetectedToastMessage(QObject):
|
||||
|
@ -21,8 +21,8 @@ class ChangesDetectedToastMessage(QObject):
|
|||
class PermissionsChangesDetectedToastMessage(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.editPermissionView_settingsDirtyToastMessage_SettingsDirtyToastMessage)
|
||||
self._update_permission_button = Button(names.editPermissionView_Save_changes_StatusButton)
|
||||
super().__init__(communities_names.editPermissionView_settingsDirtyToastMessage_SettingsDirtyToastMessage)
|
||||
self._update_permission_button = Button(communities_names.editPermissionView_Save_changes_StatusButton)
|
||||
|
||||
@allure.step('Update permission')
|
||||
def update_permission(self):
|
||||
|
|
|
@ -33,7 +33,7 @@ pytestmark = marks
|
|||
pytest.param(True, 'Ether', 'Dai Stablecoin', '10', 'viewOnly', '#general', '10 ETH', '10 DAI', 'View only'),
|
||||
pytest.param(False, False, False, False, 'becomeAdmin', False, False, False, 'Become an admin')
|
||||
])
|
||||
@pytest.mark.xfail(reason='https://github.com/status-im/status-desktop/issues/13621')
|
||||
#@pytest.mark.xfail(reason='https://github.com/status-im/status-desktop/issues/13621')
|
||||
def test_add_edit_and_remove_permissions(main_screen: MainWindow, params, checkbox_state: bool, first_asset,
|
||||
second_asset, amount, allowed_to: str, in_channel, asset_title,
|
||||
second_asset_title, allowed_to_title: str):
|
||||
|
|
Loading…
Reference in New Issue