GUI acceptance tests using environment deployed from packages.

Build: #2297 failed

Job: Metadata failed

Stages & jobs

  1. Acceptance Test

user fails to change item type permissions because of lack in privileges posix[1oz 1op deployed-directory-dir1]: Test case result

The below summarizes the result of the test " user fails to change item type permissions because of lack in privileges posix[1oz 1op deployed-directory-dir1]" in build 2,297 of Onedata Products - gui acceptance pkg - Chrome POSIX tests.
Description
user fails to change item type permissions because of lack in privileges posix[1oz 1op deployed-directory-dir1]
Test class
gui.scenarios.test_oneprovider_posix
Method
test_user_fails_to_change_item_type_permissions_because_of_lack_in_privileges_posix[1oz_1op_deployed-directory-dir1]
Jira Issue
Duration
1 min
Status
Failed (New Failure)

Error Log

selenium.common.exceptions.TimeoutException: Message: waiting for edit permissions modal to appear
request = <FixtureRequest for <Function 'test_user_fails_to_change_item_type_permissions_because_of_lack_in_privileges_posix[1oz_1op_deployed-directory-dir1]'>>

    @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)
tests/gui/meta_steps/oneprovider/permissions.py:69: in set_posix_permissions_in_op_gui
    open_permission_modal(selenium, browser_id, path, space, tmp_memory, modals,
tests/gui/meta_steps/oneprovider/permissions.py:31: in open_permission_modal
    open_modal_for_file_browser_item(selenium, browser_id, popups, modal_name,
tests/gui/meta_steps/oneprovider/data.py:482: in open_modal_for_file_browser_item
    wt_wait_for_modal_to_appear(selenium, browser_id, modal_name, tmp_memory)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/gui/steps/modals/modal.py:131: in wt_wait_for_modal_to_appear
    _wait_for_modal_to_appear(driver, browser_id, modal_name, tmp_memory)
tests/gui/steps/modals/modal.py:112: in _wait_for_modal_to_appear
    modal = _find_modal(driver, modal_name)
tests/gui/steps/modals/modal.py:105: in _find_modal
    return Wait(driver, WAIT_BACKEND).until(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <selenium.webdriver.support.wait.WebDriverWait (session="4407322169eea94fb09f4d1f2e7f0246")>
method = <function _find_modal.<locals>.<lambda> at 0x7f2e29c273a0>
message = 'waiting for edit permissions modal to appear'

    def until(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
            return value is not False."""
        screen = None
        stacktrace = None
    
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if value:
                    return value
            except self._ignored_exceptions as exc:
                screen = getattr(exc, 'screen', None)
                stacktrace = getattr(exc, 'stacktrace', None)
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message, screen, stacktrace)
E       selenium.common.exceptions.TimeoutException: Message: waiting for edit permissions modal to appear

/usr/local/lib/python3.8/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException