GUI acceptance tests using environment deployed from packages.
Build: #1828 failed
Job: Multiprovider multiuser failed
user uses autocleaning with lower size limit which skips too small files[1oz 2op deployed]: Test case result
The below summarizes the result of the test " user uses autocleaning with lower size limit which skips too small files[1oz 2op deployed]" in build 1,828 of Onedata Products - gui acceptance pkg - Chrome multiprovider multiuser tests.
- Description
- user uses autocleaning with lower size limit which skips too small files[1oz 2op deployed]
- Test class
- gui.scenarios.test_multiprovider_multiuser
- Method
- test_user_uses_autocleaning_with_lower_size_limit_which_skips_too_small_files[1oz_2op_deployed]
- Jira Issue
-
- Duration
- 11 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: Double click has not entered the directory request = <FixtureRequest for <Function 'test_user_uses_autocleaning_with_lower_size_limit_which_skips_too_small_files[1oz_2op_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:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-847>:2: in double_click_on_item_in_browser ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="15d9dc8c347a6b632b22f1fb8996b9f4")>, 'space_owner_browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="95b640ad82cac8ae79a55c7af4bf570f")>} browser_id = 'space_owner_browser', item_name = 'dir1' tmp_memory = defaultdict(<class 'dict'>, {'browser1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...7-a29827693656")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f6fdbe37438>}}) op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> which_browser = 'file_browser' @wt(parsers.parse('user of {browser_id} double clicks on item named' ' "{item_name}" in {which_browser}')) @repeat_failed(timeout=WAIT_BACKEND) def double_click_on_item_in_browser(selenium, browser_id, item_name, tmp_memory, op_container, which_browser='file browser'): which_browser = transform(which_browser) browser = tmp_memory[browser_id][which_browser] driver = selenium[browser_id] # checking if file is located in file browser start = time.time() while item_name not in browser.data: time.sleep(1) if time.time() > start + WAIT_BACKEND: raise RuntimeError('waited too long') # if item is directory compare length of directories in breadcrumbs to # check if double-click has entered it if item_name.startswith('dir'): # check if breadcrumbs are not in file browser in shares breadcrumbs = check_if_breadcrumbs_on_share_page(driver, op_container, which_browser) message = f'Double click has not entered the directory' # check if home directory where length of breadcrumbs doesn't matter # if it was home and now it isn't it means double-click worked if "/" not in breadcrumbs: browser.data[item_name].double_click() for _ in range(5): breadcrumbs = check_if_breadcrumbs_on_share_page(driver, op_container, which_browser) if "/" not in breadcrumbs: time.sleep(1) else: break if "/" not in breadcrumbs: > assert False, message E AssertionError: Double click has not entered the directory tests/gui/steps/oneprovider/browser.py:54: AssertionError