Build: #35 failed
Job: Multiprovider basic failed
user uploads file appends some text to it downlaods it and sees its content: Test case result
The below summarizes the result of the test " user uploads file appends some text to it downlaods it and sees its content" in build 35 of Onedata Products - gui acceptance pkg - feature-VFS-4716-introduction-to-acceptance-testing - Chrome multiprovider basic tests.
- Description
- user uploads file appends some text to it downlaods it and sees its content
- Test class
- gui.scenarios.test_multiprovider_basic
- Method
- test_user_uploads_file_appends_some_text_to_it_downlaods_it_and_sees_its_content
- Duration
- 4 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: expected 00000000000000000000ABCD as 20B-0.txt content, instead got 00000000000000000000 request = <FixtureRequest for <Function 'test_user_uploads_file_appends_some_text_to_it_downlaods_it_and_sees_its_content'>> > ??? tests/gui/scenarios/test_multiprovider_basic.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-470>:2: in has_downloaded_file_content ??? tests/gui/utils/generic.py:110: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ browser_id = 'browser', file_name = '20B-0.txt' content = '00000000000000000000ABCD' tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_uploads_file_appends1') @when(parsers.parse('user of {browser_id} sees that content of downloaded ' 'file "{file_name}" is equal to: "{content}"')) @then(parsers.parse('user of {browser_id} sees that content of downloaded ' 'file "{file_name}" is equal to: "{content}"')) @repeat_failed(timeout=WAIT_BACKEND) def has_downloaded_file_content(browser_id, file_name, content, tmpdir): downloaded_file = tmpdir.join(browser_id, 'download', file_name) if downloaded_file.isfile(): with downloaded_file.open() as f: file_content = ''.join(f.readlines()) assert content == file_content, \ ('expected {} as {} content, ' > 'instead got {}'.format(content, file_name, file_content)) E AssertionError: expected 00000000000000000000ABCD as 20B-0.txt content, instead got 00000000000000000000 tests/gui/steps/oneprovider/data_tab.py:431: AssertionError