Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1779 failed
Job: Onepanel failed
user does not see files tree changes after disabling continuous scan option[1oz 1op 1oc-web GUi-RESt]: Test case result
The below summarizes the result of the test " user does not see files tree changes after disabling continuous scan option[1oz 1op 1oc-web GUi-RESt]" in build 1,779 of Onedata Products - mixed acceptance pkg - Chrome onepanel tests.
- Description
- user does not see files tree changes after disabling continuous scan option[1oz 1op 1oc-web GUi-RESt]
- Test class
- mixed.scenarios.test_onepanel_basic
- Method
- test_user_does_not_see_files_tree_changes_after_disabling_continuous_scan_option[1oz_1op_1oc-web GUI-REST]
- Duration
- 7 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: not found "dir21" in browser subtree = ['dir21', 'dir22', {'file1.txt': 22222}], user = 'user1' tmp_memory = defaultdict(<class 'dict'>, {'onepanel': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...E2MjkzNTUzMzcKMDAyZnNpZ25hdHVyZSA9NEQbN5UENaJAX4L2DyWxMzFpXOlrG5vMHnGnLvVXQgo'}, 'oz': {}, 'window': {'modal': None}}}) cwd = '/dir2' selenium = {'browsers': <selenium.webdriver.chrome.webdriver.WebDriver (session="542a0ba73fcab48de4aa29bd8d9a2712")>, 'onepanel':...29bd8d9a2712")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="0d8494ba01a8bf81797255516e6667e8")>} op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_does_not_see_files_t1') which_browser = 'file 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:169: AttributeError During handling of the above exception, another exception occurred: request = <FixtureRequest for <Function 'test_user_does_not_see_files_tree_changes_after_disabling_continuous_scan_option[1oz_1op_1oc-web GUI-REST]'>> @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-1029>:2: in assert_space_content_in_op ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) tests/mixed/steps/onepanel_basic.py:537: in assert_space_content_in_op host, hosts) tests/gui/meta_steps/oneprovider/data.py:223: in assert_space_content_in_op_gui op_container, tmpdir) tests/gui/meta_steps/oneprovider/data.py:201: in _check_files_tree which_browser) tests/gui/meta_steps/oneprovider/data.py:172: in _check_files_tree which_browser) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-1037>:2: in assert_items_presence_in_browser ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ browser_id = 'user1', item_list = 'dir21' tmp_memory = defaultdict(<class 'dict'>, {'onepanel': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...E2MjkzNTUzMzcKMDAyZnNpZ25hdHVyZSA9NEQbN5UENaJAX4L2DyWxMzFpXOlrG5vMHnGnLvVXQgo'}, 'oz': {}, 'window': {'modal': None}}}) which_browser = 'file browser' @wt(parsers.parse('user of {browser_id} sees item(s) ' 'named {item_list} in {which_browser}')) @wt(parsers.parse('user of {browser_id} sees that item named ' '{item_list} has appeared in {which_browser}')) @wt(parsers.parse('user of {browser_id} sees that items named ' '{item_list} have appeared in {which_browser}')) @repeat_failed(timeout=WAIT_BACKEND) def assert_items_presence_in_browser(browser_id, item_list, tmp_memory, which_browser='file browser'): browser = tmp_memory[browser_id][transform(which_browser)] data = _get_items_list_from_browser(browser_id, tmp_memory, which_browser) for item_name in parse_seq(item_list): if which_browser == 'dataset browser': assert item_name in data, (f'not found "{item_name}" ' f'in browser') else: assert (item_name in data and browser.data[item_name] > .size), f'not found "{item_name}" in browser' E AssertionError: not found "dir21" in browser tests/gui/steps/oneprovider/browser.py:69: AssertionError