GUI acceptance tests using environment deployed from packages.

Build: #2875 failed

Job: Atm workflows pausing and cancelling failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees that tasks are cancelled after cancelling workflow while task was pausing[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees that tasks are cancelled after cancelling workflow while task was pausing[1oz 1op openfaas]" in build 2,875 of Onedata Products - gui acceptance pkg - Atm workflows pausing and cancelling.
Description
user sees that tasks are cancelled after cancelling workflow while task was pausing[1oz 1op openfaas]
Test class
gui.scenarios.test_atm_workflows_pausing_and_cancelling
Method
test_user_sees_that_tasks_are_cancelled_after_cancelling_workflow_while_task_was_pausing[1oz_1op_openfaas]
Duration
3 mins
Status
Failed (Existing Failure)

Error Log

RuntimeError: Css element wtih "Pause" text not found
request = <FixtureRequest for <Function 'test_user_sees_that_tasks_are_cancelled_after_cancelling_workflow_while_task_was_pausing[1oz_1op_openfaas]'>>

    @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-1323>:2: in click_button_on_status_bar
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/oneprovider/automation/automation_basic.py:252: in click_button_on_status_bar
    getattr(page.workflow_visualiser, transform(button))()
tests/gui/utils/core/web_elements.py:58: in __get__
    elem = super(WebItem, self).__get__(instance, owner)
tests/gui/utils/core/web_elements.py:50: in __get__
    return find_web_elem_with_text(instance.web_elem,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="bc5061cce39223de486b73497f820025", element="193b6f4b-414b-4f00-a240-19035c148f6b")>
css_sel = '.pause-resume-atm-workflow-execution-action-trigger', text = 'Pause'
err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7f299246d4c0>

    def find_web_elem_with_text(web_elem_root, css_sel, text, err_msg):
        items = web_elem_root.find_elements_by_css_selector(css_sel)
        _scroll_to_css_sel(web_elem_root, css_sel)
        for item in items:
            if item.text.lower() == text.lower():
                return item
        else:
>           raise RuntimeError(f'Css element wtih "{text}" text not found')
E           RuntimeError: Css element wtih "Pause" text not found

tests/gui/utils/generic.py:149: RuntimeError