GUI acceptance tests using environment deployed from packages.

Build: #882 failed

Job: Onezone spaces multiuser failed

user successfully joins space using invitation token with get started button[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user successfully joins space using invitation token with get started button[1oz 1op deployed]" in build 882 of Onedata Products - gui acceptance pkg - Chrome onezone spaces multiuser tests.
Description
user successfully joins space using invitation token with get started button[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_spaces_multiuser
Method
test_user_successfully_joins_space_using_invitation_token_with_get_started_button[1oz_1op_deployed]
Jira Issue
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="8f504b5f568741e159a52f32c0a98768")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="930a4cd6f469147edc8d7121503c7465")>}
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_user_successfully_joins_space_using_invitation_token_with_get_started_button[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-440>: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="8f504b5f568741e159a52f32c0a98768", element="d54121d9-5eef-46d8-830c-30334a1feb22")>
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