GUI acceptance tests using environment deployed from packages.

Build: #1740 failed

Job: Oneprovider data tab failed

user sees that newly created archive has new file and is different than archive created earlier after creating new plain archive[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user sees that newly created archive has new file and is different than archive created earlier after creating new plain archive[1oz 1op deployed]" in build 1,740 of Onedata Products - gui acceptance pkg - Chrome oneprovider data tab tests.
Description
user sees that newly created archive has new file and is different than archive created earlier after creating new plain archive[1oz 1op deployed]
Test class
gui.scenarios.test_oneprovider_data_tab
Method
test_user_sees_that_newly_created_archive_has_new_file_and_is_different_than_archive_created_earlier_after_creating_new_plain_archive[1oz_1op_deployed]
Duration
6 mins
Status
Failed (New Failure)

Error Log

AssertionError: not found "20B-0.txt" in browser
subtree = [{'file1': 100}, '20B-0.txt'], user = 'browser'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...chive_file_browser': <tests.gui.utils.oneprovider.archive_file_browser._ArchiveFileBrowser object at 0x7f292a2ea518>}})
cwd = '/dir1/dir2/dir3'
selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="0ac78755c0fc2d4be195f146614e4d70")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_that_newly_crea1')
which_browser = 'archive 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:170: AttributeError

During handling of the above exception, another exception occurred:

request = <FixtureRequest for <Function 'test_user_sees_that_newly_created_archive_has_new_file_and_is_different_than_archive_created_earlier_after_creating_new_plain_archive[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:163: in check_file_structure_in_browser
    op_container, tmpdir, which_browser)
tests/gui/meta_steps/oneprovider/data.py:204: in _check_files_tree
    which_browser)
tests/gui/meta_steps/oneprovider/data.py:204: in _check_files_tree
    which_browser)
tests/gui/meta_steps/oneprovider/data.py:204: in _check_files_tree
    which_browser)
tests/gui/meta_steps/oneprovider/data.py:173: 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-1003>:2: in assert_items_presence_in_browser
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser', item_list = '20B-0.txt'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...chive_file_browser': <tests.gui.utils.oneprovider.archive_file_browser._ArchiveFileBrowser object at 0x7f292a2ea518>}})
which_browser = 'archive 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 "20B-0.txt" in browser

tests/gui/steps/oneprovider/browser.py:69: AssertionError