GUI acceptance tests using environment deployed from packages.
Build: #1325 failed
Job: Onepanel basic failed
user fails to create 2 storages with the same name[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user fails to create 2 storages with the same name[1oz 1op deployed]" in build 1,325 of Onedata Products - gui acceptance pkg - Chrome onepanel basic tests.
- Description
- user fails to create 2 storages with the same name[1oz 1op deployed]
- Test class
- gui.scenarios.test_onepanel_basic
- Method
- test_user_fails_to_create_2_storages_with_the_same_name[1oz_1op_deployed]
- Jira Issue
-
- Duration
- 1 min
- Status
- Failed (New Failure)
Error Log
RuntimeError: cannot click on toggle for _DropdownSelector in StorageAddForm in StorageContentPage in content in dev-oneprovider-krakow Oneprovider Panel 20.02.5 request = <FixtureRequest for <Function 'test_user_fails_to_create_2_storages_with_the_same_name[1oz_1op_deployed]'>> @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:77: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-225>:2: in wt_select_storage_type_in_storage_page_op_panel ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) tests/gui/steps/onepanel/storages.py:23: in wt_select_storage_type_in_storage_page_op_panel storage_selector.expand() tests/gui/utils/core/base.py:94: in expand self._click_on_toggle() tests/gui/utils/core/base.py:102: in _click_on_toggle lambda: 'cannot click on toggle for {}'.format(self)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="1d23a5475da41565c017f133e9350a2e")> web_elem = <selenium.webdriver.remote.webelement.WebElement (session="1d23a5475da41565c017f133e9350a2e", element="b3f3a193-87e4-458d-96a7-7090fd9edee6")> err_msg = 'cannot click on toggle for _DropdownSelector in StorageAddForm in StorageContentPage in content in dev-oneprovider-krakow\nOneprovider Panel 20.02.5' 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 toggle for _DropdownSelector in StorageAddForm in StorageContentPage in content in dev-oneprovider-krakow E Oneprovider Panel 20.02.5 tests/gui/utils/generic.py:131: RuntimeError