GUI acceptance tests using environment deployed from packages.
Build: #2762 failed
Job: Oneprovider ACL directories privileges change and upload failed
change directory acl[1oz 1op deployed-group-group1-fails-all except [acl:change acl]]: Test case result
The below summarizes the result of the test " change directory acl[1oz 1op deployed-group-group1-fails-all except [acl:change acl]]" in build 2,762 of Onedata Products - gui acceptance pkg - Oneprovider ACL directories privileges change and upload.
- Description
- change directory acl[1oz 1op deployed-group-group1-fails-all except [acl:change acl]]
- Test class
- gui.scenarios.test_oneprovider_acl_dir_privileges_change_and_upload
- Method
- test_change_directory_acl[1oz_1op_deployed-group-group1-fails-all except [acl:change acl]]
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
Exception: Change ACL is not disabled and user can change ACL option which is not expected request = <FixtureRequest for <Function 'test_change_directory_acl[1oz_1op_deployed-group-group1-fails-all except [acl:change acl]]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function step_func(**kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/meta_steps/oneprovider/permissions.py:267: in change_acl_privileges assert_fail_to_select_acl_option(selenium, browser_id, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="67a7240114fd58b3605940b67e194e44")>, 'space_owner_browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="80a6323cc4496904811de33e5e9b0a4e")>} browser_id = 'browser_user1', option_list = '[acl:change acl]' modals = <class 'tests.gui.utils.common.modals.Modals'> subject = <tests.gui.utils.common.modals.files_modals.tabs_in_details_modal.edit_permissions.MemberAclPermission object at 0x7fba83e79100> def assert_fail_to_select_acl_option(selenium, browser_id, option_list, modals, subject): driver = selenium[browser_id] subject = (modals(driver).details_modal. edit_permissions.acl.member_permission_list[subject]) option = parse_seq(option_list)[0] permissions = option.split(':') parent_permission_name = (permissions[0].capitalize().replace('Acl', 'ACL')) parent_permission = subject.acl_permission_group[parent_permission_name] child_permission = (permissions[1].capitalize().replace('acl', 'ACL')) parent_permission.expand() subject.scroll_to_elem_on_acl_permission_group(parent_permission) child_permission_class = parent_permission.permissions[ child_permission].name_web_elem.get_attribute('class') if 'disabled' not in child_permission_class: > raise Exception(f'{child_permission} is not disabled and user can ' f'change ACL option which is not expected') E Exception: Change ACL is not disabled and user can change ACL option which is not expected tests/gui/steps/oneprovider/permissions.py:135: Exception