GUI acceptance tests using environment deployed from packages.

Build: #2140 failed

Job: Onezone harvesters index metadata was successful

Stages & jobs

  1. Acceptance Test

user sees rejection reason and what is rejected in data discovery page after changing json metadata value and creating index that includes include rejection reason and retry on rejection toggles[1oz 1op elasticsearch]: Test case result

The below summarizes the result of the test " user sees rejection reason and what is rejected in data discovery page after changing json metadata value and creating index that includes include rejection reason and retry on rejection toggles[1oz 1op elasticsearch]" in build 2,140 of Onedata Products - gui acceptance pkg - Chrome onezone harversters index metadata.
Description
user sees rejection reason and what is rejected in data discovery page after changing json metadata value and creating index that includes include rejection reason and retry on rejection toggles[1oz 1op elasticsearch]
Test class
gui.scenarios.test_onezone_harvesters_index_metadata
Method
test_user_sees_rejection_reason_and_what_is_rejected_in_data_discovery_page_after_changing_json_metadata_value_and_creating_index_that_includes_include_rejection_reason_and_retry_on_rejection_toggles[1oz_1op_elasticsearch]
Jira Issue
Duration
4 mins
Status
Failed (Existing Failure)

Error Log

RuntimeError: Css element wtih "Close" text not found
request = <FixtureRequest for <Function 'test_user_sees_rejection_reason_and_what_is_rejected_in_data_discovery_page_after_chang...alue_and_creating_index_that_includes_include_rejection_reason_and_retry_on_rejection_toggles[1oz_1op_elasticsearch]'>>

    @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-615>:2: in click_modal_button
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/modal.py:345: in click_modal_button
    getattr(getattr(modals(selenium[browser_id]), modal), 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:52: in __get__
    lambda: self._format_msg(err_msg, instance,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="d09db35a61044560084ee2f1f2d07fa8", element="c9b75c18-9c6c-4768-a125-5d5e9693859d")>
css_sel = '.btn-default', text = 'Close'
err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7f467b61e510>

    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 "Close" text not found

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