GUI acceptance tests using environment deployed from packages.

Build: #513 failed

Job: Chrome metadata test failed

edit metadata icon is visible if directory has empty basic metadata entry[1oz 1op deployed]: Test case result

The below summarizes the result of the test " edit metadata icon is visible if directory has empty basic metadata entry[1oz 1op deployed]" in build 513 of Onedata Products - gui acceptance pkg - Chrome metadata test.
Description
edit metadata icon is visible if directory has empty basic metadata entry[1oz 1op deployed]
Test class
gui.scenarios.test_metadata
Method
test_edit_metadata_icon_is_visible_if_directory_has_empty_basic_metadata_entry[1oz_1op_deployed]
Jira Issue
Duration
3 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: metadata tool for dir1 in file browser not visible
request = <FixtureRequest for <Function 'test_edit_metadata_icon_is_visible_if_directory_has_empty_basic_metadata_entry[1oz_1op_deployed]'>>

    from tests.gui.steps.oneprovider.data_tab import *
>   from tests.gui.steps.oneprovider.file_browser import *

tests/gui/scenarios/test_metadata.py:41: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:195: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:137: in _execute_step_function
    step_func(**kwargs)
<decorator-gen-360>:2: in assert_tool_icon_for_file_in_file_browser
    ???
tests/utils/utils.py:71: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser', tool_type = 'metadata', item_name = 'dir1'
tmp_memory = defaultdict(<type 'dict'>, {'browser': {'shares': {}, 'mailbox': {}, 'window':...ts.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f2ed07bb750>}})

    @when(parsers.parse('user of {browser_id} sees {tool_type} '
                        'icon for "{item_name}" in file browser'))
    @then(parsers.parse('user of {browser_id} sees {tool_type} '
                        'icon for "{item_name}" in file browser'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_tool_icon_for_file_in_file_browser(browser_id, tool_type,
                                                  item_name, tmp_memory):
        browser = tmp_memory[browser_id]['file_browser']
        err_msg = '{} tool for {} in file browser not visible'.format(tool_type,
                                                                      item_name)
>       assert browser.files[item_name].is_tool_visible(tool_type), err_msg
E       AssertionError: metadata tool for dir1 in file browser not visible

tests/gui/steps/oneprovider/file_browser.py:56: AssertionError