GUI acceptance tests using environment deployed from packages.
Build: #524 was successful
Job: Chrome metadata test was successful
discard changes while entering metadata for directory in json format[1oz 1op deployed]: Test case result
The below summarizes the result of the test " discard changes while entering metadata for directory in json format[1oz 1op deployed]" in build 524 of Onedata Products - gui acceptance pkg - Chrome metadata test.
- Description
- discard changes while entering metadata for directory in json format[1oz 1op deployed]
- Test class
- gui.scenarios.test_metadata
- Method
- test_discard_changes_while_entering_metadata_for_directory_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_discard_changes_while_entering_metadata_for_directory_in_json_format[1oz_1op_deployed]'>> > ??? tests/gui/scenarios/test_metadata.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-426>: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 0x7f7a47519910> tmp_memory = defaultdict(<type 'dict'>, {'browser': {'shares': {}, 'mailbox': {}, 'window':...ts.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f7a48257710>}}) @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