chore: fix for community name

This commit is contained in:
Valentina Novgorodtceva 2024-06-25 13:09:51 +07:00 committed by Anastasiya
parent 37edd927f5
commit 8bc24c5803
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ def test_create_edit_remove_community_category(main_screen: MainWindow, category
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'squisher'])
def test_member_role_cannot_add_edit_or_delete_category(main_screen: MainWindow):
with step('Choose community user is not owner of'):
community_screen = main_screen.left_panel.select_community('Super community')
community_screen = main_screen.left_panel.select_community('Community with 2 users')
with step('Verify that member cannot add category'):
with step('Verify that create channel or category button is not present'):

View File

@ -84,7 +84,7 @@ def test_create_edit_remove_community_channel(main_screen, channel_name, channel
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'squisher'])
def test_member_role_cannot_add_edit_and_delete_channels(main_screen: MainWindow):
with step('Choose community user is not owner of'):
community_screen = main_screen.left_panel.select_community('Super community')
community_screen = main_screen.left_panel.select_community('Community with 2 users')
with step('Verify that member cannot add new channel'):
with step('Verify that create channel or category button is not present'):
assert not community_screen.left_panel.does_create_channel_or_category_button_exist()