Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #467 failed
Job: Chrome files metadata tests was successful
user removes metadata[1oz 1op 1oc-web GUi-oneclient1-JSOn-{"id": 1}]: Test case result
The below summarizes the result of the test " user removes metadata[1oz 1op 1oc-web GUi-oneclient1-JSOn-{"id": 1}]" in build 467 of Onedata Products - mixed acceptance pkg - Chrome files metadata tests.
- Description
- user removes metadata[1oz 1op 1oc-web GUi-oneclient1-JSOn-{"id": 1}]
- Test class
- mixed.scenarios.test_files_metadata
- Method
- test_user_removes_metadata[1oz_1op_1oc-web GUI-oneclient1-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 = 'oneclient1' metadata = '{"id": 1}' request = <FixtureRequest for <Function 'test_user_removes_metadata[1oz_1op_1oc-web GUI-oneclient1-JSON-]'>> > ??? tests/mixed/scenarios/test_files_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 = 'file1', content = '{}' tab = <tests.gui.utils.oneprovider.file_browser.metadata_row.MetadataEditPanel object at 0x7f105d7f8ed0> tmp_memory = defaultdict(<type 'dict'>, {'browser': {'shares': {}, 'mailbox': {}, 'window':...ts.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f105d879790>}}) @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