GUI acceptance tests using environment deployed from packages.

Build: #2532 failed

Job: Oneprovider archives recall failed

Stages & jobs

  1. Acceptance Test

user sees that recall has been cancelled after cancelling it[1oz 2op slow file operations]: Test case result

The below summarizes the result of the test " user sees that recall has been cancelled after cancelling it[1oz 2op slow file operations]" in build 2,532 of Onedata Products - gui acceptance pkg - Oneprovider archives recall.
Description
user sees that recall has been cancelled after cancelling it[1oz 2op slow file operations]
Test class
gui.scenarios.test_oneprovider_archives_recall
Method
test_user_sees_that_recall_has_been_cancelled_after_cancelling_it[1oz_2op_slow_file_operations]
Jira Issue
Duration
7 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: status: Cancelled does not match Ongoing (recall progress: 18%) in archive recall information modal
request = <FixtureRequest for <Function 'test_user_sees_that_recall_has_been_cancelled_after_cancelling_it[1oz_2op_slow_file_operations]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.8/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-1079>:2: in assert_info_in_archive_recall_information_modal
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="9d690ad00e32556ec0dc6d7397c080ef")>}
browser_id = 'browser', modals = <class 'tests.gui.utils.common.modals.Modals'>
info = 'status', text = 'Cancelled'

    @wt(parsers.parse('user of {browser_id} sees {info}: "{text}" in archive '
                      'recall information modal'))
    @repeat_failed(timeout=WAIT_BACKEND)
    def assert_info_in_archive_recall_information_modal(selenium, browser_id,
                                                        modals, info, text):
        info_type = transform(info)
        recall_modal = modals(selenium[browser_id]).archive_recall_information
        information = getattr(recall_modal, info_type)
        if info_type in ['files_recalled', 'data_recalled']:
            current_progress = recall_modal.get_progress_info(info_type)
            expected_progress = recall_modal.parse_progress(text)
            info_equal = current_progress == expected_progress
            assert info_equal, (f'{info}: {current_progress} progress info does '
                                f'not match {expected_progress} in archive recall '
                                f'information modal, raw text content: "{text}"')
        else:
>           assert text.lower() in information.lower().replace('\n', ''), (
                f'{info}: {text} does not match {information} in archive recall '
                f'information modal')
E           AssertionError: status: Cancelled does not match Ongoing (recall progress: 18%) in archive recall information modal

tests/gui/steps/oneprovider/archives_recall.py:37: AssertionError