GUI acceptance tests using environment deployed from packages.
Build: #1833 failed
Job: Oneprovider datasets failed
user sees directory tree in dataset browser after marking directories as dataset[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user sees directory tree in dataset browser after marking directories as dataset[1oz 1op deployed]" in build 1,833 of Onedata Products - gui acceptance pkg - Chrome oneprovider datasets tests.
- Description
- user sees directory tree in dataset browser after marking directories as dataset[1oz 1op deployed]
- Test class
- gui.scenarios.test_oneprovider_datasets
- Method
- test_user_sees_directory_tree_in_dataset_browser_after_marking_directories_as_dataset[1oz_1op_deployed]
- Duration
- 3 mins
- Status
- Failed (New Failure)
Error Log
RuntimeError: waited too long subtree = ['dir5'], user = 'browser' tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...dc087240>, 'dataset_browser': <tests.gui.utils.oneprovider.dataset_browser._DatasetBrowser object at 0x7f5cdc038be0>}}) cwd = '/dir2/dir4' selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="718ae06799aaf8c2a6e3fd6db10cb9b2")>} op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_directory_tree_1') which_browser = 'dataset browser' def _check_files_tree(subtree, user, tmp_memory, cwd, selenium, op_container, tmpdir, which_browser='file browser'): for item in subtree: try: > [(item_name, item_subtree)] = item.items() E AttributeError: 'str' object has no attribute 'items' tests/gui/meta_steps/oneprovider/data.py:180: AttributeError During handling of the above exception, another exception occurred: request = <FixtureRequest for <Function 'test_user_sees_directory_tree_in_dataset_browser_after_marking_directories_as_dataset[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:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/meta_steps/oneprovider/data.py:173: in check_file_structure_in_browser op_container, tmpdir, which_browser) tests/gui/meta_steps/oneprovider/data.py:216: in _check_files_tree which_browser) tests/gui/meta_steps/oneprovider/data.py:216: in _check_files_tree which_browser) tests/gui/meta_steps/oneprovider/data.py:187: in _check_files_tree which_browser) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-1009>:2: in double_click_on_item_in_browser ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="718ae06799aaf8c2a6e3fd6db10cb9b2")>} browser_id = 'browser', item_name = 'dir5' tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...dc087240>, 'dataset_browser': <tests.gui.utils.oneprovider.dataset_browser._DatasetBrowser object at 0x7f5cdc038be0>}}) op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> which_browser = 'dataset_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') E RuntimeError: waited too long tests/gui/steps/oneprovider/browser.py:30: RuntimeError