GUI acceptance tests using environment deployed from packages.
Build: #1041 failed
Job: Oneprovider ACL files failed
write metadata to file[1oz 1op deployed-user-user1-fails-all except [metadata:write metadata]]: Test case result
The below summarizes the result of the test " write metadata to file[1oz 1op deployed-user-user1-fails-all except [metadata:write metadata]]" in build 1,041 of Onedata Products - gui acceptance pkg - Chrome oneprovider ACL files.
- Description
- write metadata to file[1oz 1op deployed-user-user1-fails-all except [metadata:write metadata]]
- Test class
- gui.scenarios.test_oneprovider_acl_files
- Method
- test_write_metadata_to_file[1oz_1op_deployed-user-user1-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_file[1oz_1op_deployed-user-user1-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-528>: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="2b5997bcf48730897fc5c7c2fd324dd2")> web_elem = <selenium.webdriver.remote.webelement.WebElement (session="2b5997bcf48730897fc5c7c2fd324dd2", element="6e26113e-b0db-4e07-bfba-820758aee0da")> 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