GUI acceptance tests using environment deployed from packages.
Build: #2948 failed
Job: Onezone spaces memberships privileges data failed
user fails to see privileges without view privileges[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user fails to see privileges without view privileges[1oz 1op deployed]" in build 2,948 of Onedata Products - gui acceptance pkg - Onezone spaces memberships privileges data.
- Description
- user fails to see privileges without view privileges[1oz 1op deployed]
- Test class
- gui.scenarios.test_onezone_spaces_memberships_privileges_data
- Method
- test_user_fails_to_see_privileges_without_view_privileges[1oz_1op_deployed]
- Duration
- 1 min
- Status
- Failed (New Failure)
Error Log
AttributeError: user1 already in use fixturefunc = <function login_using_gui at 0x7f930de62660> request = <FixtureRequest for <Function test_user_fails_to_see_privileges_without_view_privileges[1oz_1op_deployed]>> kwargs = {'browser_id_list': '[browser_user1, space_owner_browser]', 'capabilities': {'options': <selenium.webdriver.chrome.opt...d69a3f0>}, 'displays': {'user1': ':1006.0'}, 'driver': <function driver.<locals>._get_instance at 0x7f930d6c9080>, ...} def call_fixture_func( fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs ) -> FixtureValue: if is_generator(fixturefunc): fixturefunc = cast( Callable[..., Generator[FixtureValue, None, None]], fixturefunc ) generator = fixturefunc(**kwargs) try: fixture_result = next(generator) except StopIteration: raise ValueError(f"{request.fixturename} did not yield a value") from None finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator) request.addfinalizer(finalizer) else: fixturefunc = cast(Callable[..., FixtureValue], fixturefunc) > fixture_result = fixturefunc(**kwargs) /usr/local/lib/python3.12/dist-packages/_pytest/fixtures.py:913: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) /usr/local/lib/python3.12/dist-packages/decorator.py:232: in fun return caller(func, *(extras + args), **kw) tests/utils/utils.py:93: in wrapper return fun(*args, **kwargs) tests/gui/meta_steps/onezone/common.py:56: in login_using_gui create_instances_of_webdriver( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'request': <SubRequest 'selenium' for <Function test_user_fails_to_see_privileges_without_view_privileges[1oz_1op_deployed]>>, 'user1': <tests.conftest.ChromeWithAllLogs (session="d0d28120cd06f54d9fab98b805c76f5c")>} driver = <function driver.<locals>._get_instance at 0x7f930d6c9080> browser_id_list = '[user1, space-owner-user]' tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_fails_to_see_privile0') tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...}, 'space-owner-user': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'modal': None}}}) driver_type = 'Chrome', xvfb = [':1006.0', ':1006.1'], xvfb_recorder = None screen_width = 1366, screen_height = 1024, displays = {'user1': ':1006.0'} capabilities = {'options': <selenium.webdriver.chrome.options.Options object at 0x7f930d69a3f0>} @given(parsers.parse("user opened {browser_id_list} window")) @given(parsers.parse("users opened {browser_id_list} browsers' windows")) def create_instances_of_webdriver( selenium, driver, browser_id_list, tmpdir, tmp_memory, driver_type, xvfb, xvfb_recorder, screen_width, screen_height, displays, capabilities, ): _ = xvfb_recorder for browser_id, display in zip(parse_seq(browser_id_list), cycle(xvfb)): if browser_id in selenium: > raise AttributeError(f"{browser_id:s} already in use") E AttributeError: user1 already in use tests/gui/steps/common/browser_creation.py:39: AttributeError