GUI acceptance tests using environment deployed from packages.

Build: #2876 failed

Job: Atm workflows status failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user resume workflow execution after pausing execution of uploaded workflow while first task had active status[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user resume workflow execution after pausing execution of uploaded workflow while first task had active status[1oz 1op openfaas]" in build 2,876 of Onedata Products - gui acceptance pkg - Atm workflows status.
Description
user resume workflow execution after pausing execution of uploaded workflow while first task had active status[1oz 1op openfaas]
Test class
gui.scenarios.test_atm_workflows_status
Method
test_user_resume_workflow_execution_after_pausing_execution_of_uploaded_workflow_while_first_task_had_active_status[1oz_1op_openfaas]
Duration
1 min
Status
Failed (Existing Failure)

Error Log

RuntimeError: Css element wtih "Pause" text not found
request = <FixtureRequest for <Function 'test_user_resume_workflow_execution_after_pausing_execution_of_uploaded_workflow_while_first_task_had_active_status[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="a4e49f3f773a88e00e5fd6c4f81a9a69", element="97c733f1-14e2-4410-bebe-27f0dfba414d")>
css_sel = '.pause-resume-atm-workflow-execution-action-trigger', text = 'Pause'
err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7efe21fbef70>

    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