Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #468 failed
Job: Chrome directories metadata tests was successful
user removes metadata[1oz 1op 1oc-web GUi-RESt-JSOn-{"id": 1}]: Test case result
The below summarizes the result of the test " user removes metadata[1oz 1op 1oc-web GUi-RESt-JSOn-{"id": 1}]" in build 468 of Onedata Products - mixed acceptance pkg - Chrome directories metadata tests.
- Description
- user removes metadata[1oz 1op 1oc-web GUi-RESt-JSOn-{"id": 1}]
- Test class
- mixed.scenarios.test_directories_metadata
- Method
- test_user_removes_metadata[1oz_1op_1oc-web GUI-REST-JSON-{"id": 1}]
- Jira Issue
-
- Duration
- 2 mins
- 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 client1 = 'web GUI', fmt = 'JSON', client2 = 'REST', metadata = '{"id": 1}' request = <FixtureRequest for <Function 'test_user_removes_metadata[1oz_1op_1oc-web GUI-REST-JSON-]'>> > ??? tests/mixed/scenarios/test_directories_metadata.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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) tests/mixed/steps/data_basic.py:540: in assert_no_such_metadata_in_op 'fails', space, tab_name, val) tests/gui/meta_steps/oneprovider/data.py:153: in assert_metadata_in_op_gui tab_name, tmp_memory) <decorator-gen-142>:2: in assert_textarea_content_is_eq_to ??? tests/utils/utils.py:71: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ browser_id = 'user1', item_name = 'dir1', content = '{}' tab = <tests.gui.utils.oneprovider.file_browser.metadata_row.MetadataEditPanel object at 0x7f8036fef790> tmp_memory = defaultdict(<type 'dict'>, {'browser': {'shares': {}, 'mailbox': {}, 'window':...ts.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f8036fefed0>}}) @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