chore: fix for community name
This commit is contained in:
parent
37edd927f5
commit
8bc24c5803
|
@ -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'])
|
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'squisher'])
|
||||||
def test_member_role_cannot_add_edit_or_delete_category(main_screen: MainWindow):
|
def test_member_role_cannot_add_edit_or_delete_category(main_screen: MainWindow):
|
||||||
with step('Choose community user is not owner of'):
|
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 member cannot add category'):
|
||||||
with step('Verify that create channel or category button is not present'):
|
with step('Verify that create channel or category button is not present'):
|
||||||
|
|
|
@ -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'])
|
@pytest.mark.parametrize('user_data', [configs.testpath.TEST_USER_DATA / 'squisher'])
|
||||||
def test_member_role_cannot_add_edit_and_delete_channels(main_screen: MainWindow):
|
def test_member_role_cannot_add_edit_and_delete_channels(main_screen: MainWindow):
|
||||||
with step('Choose community user is not owner of'):
|
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 member cannot add new channel'):
|
||||||
with step('Verify that create channel or category button is not present'):
|
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()
|
assert not community_screen.left_panel.does_create_channel_or_category_button_exist()
|
||||||
|
|
Loading…
Reference in New Issue