GUI acceptance tests using environment deployed from packages.

Build: #882 failed

Job: Onezone basic failed

single user adds subgroup[1oz 1op deployed]: Test case result

The below summarizes the result of the test " single user adds subgroup[1oz 1op deployed]" in build 882 of Onedata Products - gui acceptance pkg - Chrome onezone basic tests.
Description
single user adds subgroup[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_basic
Method
test_single_user_adds_subgroup[1oz_1op_deployed]
Duration
1 min
Status
Failed (Existing Failure)

Error Log

RuntimeError: no  with "Cancel" text found in Invite using token modal
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="53bd1bf84eea215f22fd094dbfa7ca1d")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="e0e0fe3b5e0815b12aae1f37d3897713")>}
browser_id = 'browser1', modal = 'invite_using_token'
modals = <class 'tests.gui.utils.common.modals.Modals'>

    @wt(parsers.re('user of (?P<browser_id>.*) closes "(?P<modal>.*)" modal'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def close_modal(selenium, browser_id, modal, modals):
        modal = transform(modal)
        try:
>           getattr(modals(selenium[browser_id]), modal).close()
E           AttributeError: 'InviteUsingTokenModal' object has no attribute 'close'

tests/gui/steps/modal.py:397: AttributeError

During handling of the above exception, another exception occurred:

request = <FixtureRequest for <Function 'test_single_user_adds_subgroup[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:76: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-364>:2: in close_modal
    ???
tests/utils/utils.py:80: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/modal.py:399: in close_modal
    getattr(modals(selenium[browser_id]), modal).cancel()
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="53bd1bf84eea215f22fd094dbfa7ca1d", element="80d7a8e4-12c5-4f1c-86b2-89e89a116f35")>
css_sel = 'button', text = 'Cancel'
err_msg = 'no  with "Cancel" text found in Invite using token modal'

    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:
            with suppress(TypeError):
                err_msg = err_msg()
>           raise RuntimeError(err_msg)
E           RuntimeError: no  with "Cancel" text found in Invite using token modal

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