chore(tests): make permissions tests required for PRs

This commit is contained in:
Patryk Osmaczko 2024-06-19 12:40:41 +02:00 committed by osmaczko
parent dc49843948
commit 774c08eec7
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ pytestmark = marks
'Manage community: Adding new permissions, Editing permissions, Deleting permission') 'Manage community: Adding new permissions, Editing permissions, Deleting permission')
@pytest.mark.case(703632, 705014, 705016) @pytest.mark.case(703632, 705014, 705016)
@pytest.mark.parametrize('params', [constants.community_params]) @pytest.mark.parametrize('params', [constants.community_params])
@pytest.mark.critical
def test_add_edit_and_remove_permissions(main_screen: MainWindow, params): def test_add_edit_and_remove_permissions(main_screen: MainWindow, params):
with step('Enable creation of community option'): with step('Enable creation of community option'):
settings = main_screen.left_panel.open_settings() settings = main_screen.left_panel.open_settings()
@ -183,6 +184,7 @@ def test_add_edit_and_remove_permissions(main_screen: MainWindow, params):
@pytest.mark.parametrize('params', [constants.community_params]) @pytest.mark.parametrize('params', [constants.community_params])
@pytest.mark.critical
def test_add_5_member_role_permissions(main_screen: MainWindow, params): def test_add_5_member_role_permissions(main_screen: MainWindow, params):
with step('Enable creation of community option'): with step('Enable creation of community option'):
settings = main_screen.left_panel.open_settings() settings = main_screen.left_panel.open_settings()