GUI acceptance tests using environment deployed from packages.
Build: #1043 failed
Job: Chrome oneprovider ACL directories failed
write metadata to directory[1oz 1op deployed-group-group1-fails-all except [metadata:write metadata]]: Test case result
The below summarizes the result of the test " write metadata to directory[1oz 1op deployed-group-group1-fails-all except [metadata:write metadata]]" in build 1,043 of Onedata Products - gui acceptance pkg - Chrome oneprovider ACL directories.
- Description
- write metadata to directory[1oz 1op deployed-group-group1-fails-all except [metadata:write metadata]]
- Test class
- gui.scenarios.test_oneprovider_acl_dir
- Method
- test_write_metadata_to_directory[1oz_1op_deployed-group-group1-fails-all except [metadata:write metadata]]
- Duration
- 2 mins
- Status
- Failed (Existing Failure)
Error Log
RuntimeError: cannot click on button btn with "Save all" text in Metadata modal request = <FixtureRequest for <Function 'test_write_metadata_to_directory[1oz_1op_deployed-group-group1-fails-all except [metadata:write metadata]]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function step_func(**kwargs) tests/utils/bdd_utils.py:76: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-542>:2: in set_metadata_in_op_gui ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) tests/gui/meta_steps/oneprovider/metadata.py:110: in set_metadata_in_op_gui click_metadata_modal_button(selenium, browser_id, button, modals) tests/utils/bdd_utils.py:76: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-498>:2: in click_metadata_modal_button ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) tests/gui/steps/oneprovider/metadata.py:185: in click_metadata_modal_button click_modal_button(selenium, browser_id, button, modal_name, modals) tests/utils/bdd_utils.py:76: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-404>:2: in click_modal_button ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) tests/gui/steps/modal.py:330: in click_modal_button getattr(getattr(modals(selenium[browser_id]), modal), button)() tests/gui/utils/core/web_objects.py:21: in __call__ self.click() tests/gui/utils/core/base.py:82: in click lambda: 'cannot click on {}'.format(self)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="7e2b08719bc704dac43a3160c127f70e")> web_elem = <selenium.webdriver.remote.webelement.WebElement (session="7e2b08719bc704dac43a3160c127f70e", element="55976e25-4c19-4f3f-a927-7dd0f16d7b14")> err_msg = 'cannot click on button btn with "Save all" text in Metadata modal' delay = True def click_on_web_elem(driver, web_elem, err_msg, delay=True): disabled = 'disabled' in web_elem.get_attribute('class') # scroll to make the element visible if not web_elem.is_displayed(): web_elem.location_once_scrolled_into_view if web_elem.is_enabled() and web_elem.is_displayed() and not disabled: # TODO make optional sleep and localize only those tests that need it or find better alternative # currently checking if elem is enabled not always work (probably after striping disabled from web elem # elem is not immediately clickable) if delay: sleep(delay if isinstance(delay, float) else 0.25) action = ActionChains(driver) action.move_to_element(web_elem).click_and_hold(web_elem).release(web_elem) action.perform() else: with suppress(TypeError): err_msg = err_msg() > raise RuntimeError(err_msg) E RuntimeError: cannot click on button btn with "Save all" text in Metadata modal tests/gui/utils/generic.py:126: RuntimeError