test(community): Fix community categories tests
This commit is contained in:
parent
8de1e42a0f
commit
2d873db153
|
@ -126,8 +126,8 @@ class StatusCommunityScreen:
|
|||
|
||||
def _open_category_edit_popup(self, category):
|
||||
# For some reason it clicks on a first channel in category instead of category
|
||||
click_obj(category.parent)
|
||||
right_click_obj(category.parent)
|
||||
click_obj(category.chatListCategory.statusChatListCategoryItem)
|
||||
right_click_obj(category.chatListCategory.statusChatListCategoryItem)
|
||||
click_obj_by_name(CommunityScreenComponents.COMMUNITY_EDIT_CATEGORY_MENU_ITEM.value)
|
||||
|
||||
def verify_community_name(self, communityName: str):
|
||||
|
@ -192,8 +192,9 @@ class StatusCommunityScreen:
|
|||
verify(loaded, "Finding category: " + community_category_name)
|
||||
|
||||
# For some reason it clicks on a first channel in category instead of category
|
||||
click_obj(category.parent)
|
||||
right_click_obj(category.parent)
|
||||
click_obj(category.chatListCategory.statusChatListCategoryItem)
|
||||
right_click_obj(category.chatListCategory.statusChatListCategoryItem)
|
||||
|
||||
click_obj_by_name(CommunityScreenComponents.COMMUNITY_DELETE_CATEGORY_MENU_ITEM.value)
|
||||
click_obj_by_name(CommunityScreenComponents.COMMUNITY_CONFIRM_DELETE_CATEGORY_BUTTON.value)
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 4d73c25c7adf300fcafa0aaed72e515895ee492f
|
||||
Subproject commit 4d9cec541f2a1832b72bad3e599a3fe977900820
|
Loading…
Reference in New Issue