GUI acceptance tests using environment deployed from packages.
Build: #2769 failed
Job: Onezone basic failed
user sees that user effective privileges are the sum of its direct parent direct privileges and its direct privileges[1oz 1op elasticsearch]: Test case result
The below summarizes the result of the test " user sees that user effective privileges are the sum of its direct parent direct privileges and its direct privileges[1oz 1op elasticsearch]" in build 2,769 of Onedata Products - gui acceptance pkg - Onezone basic.
- Description
- user sees that user effective privileges are the sum of its direct parent direct privileges and its direct privileges[1oz 1op elasticsearch]
- Test class
- gui.scenarios.test_onezone_basic
- Method
- test_user_sees_that_user_effective_privileges_are_the_sum_of_its_direct_parent_direct_privileges_and_its_direct_privileges[1oz_1op_elasticsearch]
- Jira Issue
-
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: User management should not be granted but it is request = <FixtureRequest for <Function 'test_user_sees_that_user_effective_privileges_are_the_sum_of_its_direct_parent_direct_privileges_and_its_direct_privileges[1oz_1op_elasticsearch]'>> @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/steps/onezone/members.py:581: in assert_privileges_in_members_subpage tree.assert_privileges(selenium, browser_id, privileges, tests/gui/utils/common/privilege_tree.py:193: in assert_privileges self._assert_privileges(selenium, browser_id, privileges, tests/gui/utils/common/privilege_tree.py:199: in _assert_privileges self._assert_privilege_group(selenium, browser_id, privilege_group, tests/gui/utils/common/privilege_tree.py:219: in _assert_privilege_group privilege_row.assert_effective_privilege_granted(granted) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.gui.utils.common.privilege_tree.PrivilegeGroup object at 0x7fcfde454940> granted = False def assert_effective_privilege_granted(self, granted): granted_count = int(self.effective_priv.split('/')[0]) all_count = int(self.effective_priv.split('/')[1]) if granted == 'Partially': msg = f'{self.name} should be partially granted but is not' assert granted_count != all_count and granted_count > 0, msg elif granted: msg = f'{self.name} should be granted but is not' assert granted_count == all_count, msg else: msg = f'{self.name} should not be granted but it is' > assert granted_count == 0, msg E AssertionError: User management should not be granted but it is tests/gui/utils/common/privilege_tree.py:139: AssertionError