GUI acceptance tests using environment deployed from packages.
Build: #1773 failed
Job: Oneprovider data tab failed
user downloads file and checks its content[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user downloads file and checks its content[1oz 1op deployed]" in build 1,773 of Onedata Products - gui acceptance pkg - Chrome oneprovider data tab tests.
- Description
- user downloads file and checks its content[1oz 1op deployed]
- Test class
- gui.scenarios.test_oneprovider_data_tab
- Method
- test_user_downloads_file_and_checks_its_content[1oz_1op_deployed]
- Jira Issue
-
- Duration
- 1 min
- Status
- Failed (New Failure)
Error Log
RuntimeError: file 20B-0.txt has not been downloaded request = <FixtureRequest for <Function 'test_user_downloads_file_and_checks_its_content[1oz_1op_deployed]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function step_func(**kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-651>:2: in has_downloaded_file_content ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ browser_id = 'browser', file_name = '20B-0.txt' content = '11111111111111111111' tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_downloads_file_and_c1') @wt(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()) file_content = file_content.strip() assert content == file_content, ('expected {} as {} content, ' 'instead got {}'.format(content, file_name, file_content)) else: > raise RuntimeError('file {} has not been downloaded'.format(file_name)) E RuntimeError: file 20B-0.txt has not been downloaded tests/gui/steps/oneprovider/data_tab.py:444: RuntimeError