GUI acceptance tests using environment deployed from packages.

Build: #2887 failed

Job: Onezone spaces memberships privileges failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user fails to see privileges of another user until he is granted all privileges by becoming an owner[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user fails to see privileges of another user until he is granted all privileges by becoming an owner[1oz 1op deployed]" in build 2,887 of Onedata Products - gui acceptance pkg - Onezone spaces memberships privileges.
Description
user fails to see privileges of another user until he is granted all privileges by becoming an owner[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_spaces_memberships_privileges
Method
test_user_fails_to_see_privileges_of_another_user_until_he_is_granted_all_privileges_by_becoming_an_owner[1oz_1op_deployed]
Duration
2 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: alert with text "This user is a space owner and is authorized to perform all operations, regardless of the assigned privileges." not found
request = <FixtureRequest for <Function 'test_user_fails_to_see_privileges_of_another_user_until_he_is_granted_all_privileges_by_becoming_an_owner[1oz_1op_deployed]'>>

    @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-919>:2: in assert_ownership_privileges_warning_appeared_for_user
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="b8fc078c536e15790ba3a8665ff6ca1e")>, 'space_owner_browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="fd331f62d332eb7917095fd081381f87")>}
browser_id = 'browser_user1'
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>, username = 'user1'
alert_text = 'This user is a space owner and is authorized to perform all operations, regardless of the assigned privileges.'

    @wt(parsers.re('user of (?P<browser_id>.*) sees "(?P<alert_text>This user is a '
                   'space owner and is authorized to perform all operations, '
                   'regardless of the assigned privileges.)" warning '
                   'for "(?P<username>.*)" user in space members subpage'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_ownership_privileges_warning_appeared_for_user(selenium, browser_id,
                                                              oz_page,
                                                              username,
                                                              alert_text):
        driver = selenium[browser_id]
        members_list = oz_page(driver)['data'].members_page.users
        error_msg = f'alert with text "{alert_text}" not found'
        ownership_warning = members_list.items[username].ownership_warning.text
>       assert alert_text in ownership_warning, error_msg
E       AssertionError: alert with text "This user is a space owner and is authorized to perform all operations, regardless of the assigned privileges." not found

tests/gui/steps/onezone/members.py:836: AssertionError