GUI acceptance tests using environment deployed from packages.

Build: #521 failed

Job: Chrome metadata test was successful

delete directory metadata in json format[1oz 1op deployed]: Test case result

The below summarizes the result of the test " delete directory metadata in json format[1oz 1op deployed]" in build 521 of Onedata Products - gui acceptance pkg - Chrome metadata test.
Description
delete directory metadata in json format[1oz 1op deployed]
Test class
gui.scenarios.test_metadata
Method
test_delete_directory_metadata_in_json_format[1oz_1op_deployed]
Jira Issue
Duration
1 min
Status
Failed (Existing Failure)

Error Log

AssertionError: expected: {}, got: null in textarea for metadata in MetadataEditPanel in MetadataRow in file browser in DataTab in Oneprovider page
request = <FixtureRequest for <Function 'test_delete_directory_metadata_in_json_format[1oz_1op_deployed]'>>

>   ???

tests/gui/scenarios/test_metadata.py:77: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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-428>:2: in assert_textarea_content_is_eq_to
    ???
tests/utils/utils.py:71: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser', item_name = 'dir1', content = '{}'
tab = <tests.gui.utils.oneprovider.file_browser.metadata_row.MetadataEditPanel object at 0x7f5e8ff330d0>
tmp_memory = defaultdict(<type 'dict'>, {'browser': {'shares': {}, 'mailbox': {}, 'window':...ts.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f5e8ff33090>}})

    @when(parsers.re('user of (?P<browser_id>.+?) sees that content of '
                     '(?P<tab>JSON|RDF) textarea placed in metadata panel opened '
                     'for "(?P<item_name>.+?)" is equal to: "(?P<content>.*?)"'))
    @then(parsers.re('user of (?P<browser_id>.+?) sees that content of '
                     '(?P<tab>JSON|RDF) textarea placed in metadata panel opened '
                     'for "(?P<item_name>.+?)" is equal to: "(?P<content>.*?)"'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_textarea_content_is_eq_to(browser_id, item_name, content,
                                         tab, tmp_memory):
        browser = tmp_memory[browser_id]['file_browser']
        metadata_row = browser.get_metadata_for(item_name)
        tab = getattr(metadata_row, tab.lower())
        assert tab.text_area == content, \
            'expected: {}, got: {} in textarea for ' \
>           'metadata in {}'.format(content, tab.text_area, tab)
E       AssertionError: expected: {}, got: null in textarea for metadata in MetadataEditPanel in MetadataRow in file browser in DataTab in Oneprovider page

tests/gui/steps/oneprovider/metadata.py:254: AssertionError