GUI acceptance tests using environment deployed from packages.

Build: #1962 failed

Job: Onezone groups basic failed

Stages & jobs

  1. Acceptance Test

user removes relation with privilege remove child group and without leave parent group[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user removes relation with privilege remove child group and without leave parent group[1oz 1op deployed]" in build 1,962 of Onedata Products - gui acceptance pkg - Chrome onezone groups basic tests.
Description
user removes relation with privilege remove child group and without leave parent group[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_groups_basic
Method
test_user_removes_relation_with_privilege_remove_child_group_and_without_leave_parent_group[1oz_1op_deployed]
Duration
1 min
Status
Failed (Existing Failure)

Error Log

RuntimeError: cannot click on button btn in MembershipRelation in MembershipRow in MembersPage in GroupsPage in Onezone page
request = <FixtureRequest for <Function 'test_user_removes_relation_with_privilege_remove_child_group_and_without_leave_parent_group[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:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-729>:2: in click_relation_menu_button
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/onezone/members.py:220: in click_relation_menu_button
    search_for_members(records, member_name, name, click_on_menu)
tests/gui/meta_steps/onezone/common.py:140: in search_for_members
    if fun(record, member_index):
tests/gui/steps/onezone/members.py:217: in click_on_menu
    record.relations[member_index].click_relation_menu_button(driver)
tests/gui/utils/onezone/members_subpage.py:81: in click_relation_menu_button
    self.relation_menu_button()
tests/gui/utils/core/web_objects.py:21: in __call__
    self.click()
tests/gui/utils/core/base.py:82: in click
    lambda: 'cannot click on {}'.format(self))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="2f0c5e3f991906a704ab5b978d4a506f")>
web_elem = <selenium.webdriver.remote.webelement.WebElement (session="2f0c5e3f991906a704ab5b978d4a506f", element="26700a80-e2aa-4898-88b8-e384d70a5d43")>
err_msg = 'cannot click on button btn in MembershipRelation in MembershipRow in MembersPage in GroupsPage in Onezone page'
delay = True

    def click_on_web_elem(driver, web_elem, err_msg, delay=True):
        disabled = 'disabled' in web_elem.get_attribute('class')
        # scroll to make the element visible
        if not web_elem.is_displayed():
            web_elem.location_once_scrolled_into_view
        if web_elem.is_enabled() and web_elem.is_displayed() and not disabled:
            # TODO VFS-7484 make optional sleep and localize only those tests that need it or find better alternative
            # currently checking if elem is enabled not always work (probably after striping disabled from web elem
            # elem is not immediately clickable)
            if delay:
                sleep(delay if isinstance(delay, float) else 0.25)
            action = ActionChains(driver)
            action.move_to_element(web_elem).click_and_hold(web_elem).release(web_elem)
            action.perform()
        else:
            with suppress(TypeError):
                err_msg = err_msg()
>           raise RuntimeError(err_msg)
E           RuntimeError: cannot click on button btn in MembershipRelation in MembershipRow in MembersPage in GroupsPage in Onezone page

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