test2
This commit is contained in:
parent
d58a819992
commit
4a0aa21be7
|
@ -21,6 +21,17 @@ from gui.screens.community import CommunityScreen
|
|||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class CreateCommunitiesBanner(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._crete_community_button = Button(names.create_new_StatusButton)
|
||||
|
||||
def open_create_community_popup(self) -> 'CreateCommunityPopup':
|
||||
self._crete_community_button.click()
|
||||
return CreateCommunityPopup().wait_until_appears()
|
||||
|
||||
|
||||
class CreateCommunityPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import allure
|
||||
|
||||
from gui.components.community.create_community_popups import CreateCommunityPopup
|
||||
from gui.components.community.create_community_popups import CreateCommunityPopup, CreateCommunitiesBanner
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import communities_names
|
||||
|
@ -15,4 +15,4 @@ class CommunitiesPortal(QObject):
|
|||
@allure.step('Open create community popup')
|
||||
def open_create_community_popup(self) -> CreateCommunityPopup:
|
||||
self._create_community_button.click()
|
||||
return CreateCommunityPopup().wait_until_appears()
|
||||
return CreateCommunitiesBanner().wait_until_appears()
|
||||
|
|
|
@ -90,7 +90,6 @@ def test_create_community(user_account, main_screen: MainWindow, params):
|
|||
'outro': 'Updated Outro'
|
||||
}
|
||||
])
|
||||
@pytest.mark.skip(reason="https://github.com/status-im/status-desktop/issues/13783")
|
||||
def test_edit_community(main_screen: MainWindow, params):
|
||||
with step('Enable creation of community option'):
|
||||
settings = main_screen.left_panel.open_settings()
|
||||
|
|
Loading…
Reference in New Issue