GUI acceptance tests using environment deployed from packages.
Build: #1831 failed
Job: Chrome transfers multi browser tests was successful
user migrates directory with 2 files on different providers to current provider[1oz 2op deployed]: Test case result
The below summarizes the result of the test " user migrates directory with 2 files on different providers to current provider[1oz 2op deployed]" in build 1,831 of Onedata Products - gui acceptance pkg - Chrome transfers multi browser tests.
- Description
- user migrates directory with 2 files on different providers to current provider[1oz 2op deployed]
- Test class
- gui.scenarios.test_oneprovider_transfers_multi
- Method
- test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
- Duration
- 7 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: Double click has not entered the directory request = <FixtureRequest for <Function 'test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider[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-577>: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="85004b829f530ac7c2e6d68232abcb7a")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="4c27fcd29e6716ed824137a1d6fb4d5c")>} browser_id = 'browser2', item_name = 'dir1' tmp_memory = defaultdict(<class 'dict'>, {'browser1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window':...': {'modal': None}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f501077df28>}}) 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