GUI acceptance tests using environment deployed from packages.

Build: #2949 failed

Job: Onezone tokens failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user successfully creates access token with all caveats[1oz 2op elasticsearch]: Test case result

The below summarizes the result of the test " user successfully creates access token with all caveats[1oz 2op elasticsearch]" in build 2,949 of Onedata Products - gui acceptance pkg - Onezone tokens.
Description
user successfully creates access token with all caveats[1oz 2op elasticsearch]
Test class
gui.scenarios.test_onezone_tokens
Method
test_user_successfully_creates_access_token_with_all_caveats[1oz_2op_elasticsearch]
Jira Issue
Duration
3 mins
Status
Failed (New Failure)

Error Log

RuntimeError: no "Service" found in Consumer caveat popup
fixturefunc = <function create_token_with_config at 0x7fc2970709a0>
request = <FixtureRequest for <Function test_user_successfully_creates_access_token_with_all_caveats[1oz_2op_elasticsearch]>>
kwargs = {'browser_id': 'browser', 'config': 'type: access\ncaveats:\n  expiration:\n    after: 10\n  region:\n    allow: True\...71b959', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.80.248', 'name': 'dev-onezone', ...}}, ...}

    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/tokens.py:318: in create_token_with_config
    _create_token_with_config(
tests/gui/meta_steps/onezone/tokens.py:375: in _create_token_with_config
    _set_tokens_caveats(
tests/gui/meta_steps/onezone/tokens.py:441: in _set_tokens_caveats
    caveat.set_service_caveats(selenium, browser_id, service_caveats, popups)
tests/gui/utils/onezone/token_caveats.py:216: in set_service_caveats
    self.set_service_in_service_caveat(
tests/gui/utils/onezone/token_caveats.py:232: in set_service_in_service_caveat
    popup.consumer_types[consumer_type]()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.gui.utils.core.web_objects.PageObjectsSequence object at 0x7fc296cd9490>
sel = 'Service'

    def __getitem__(self, sel):
        if isinstance(sel, int):
            item = self._getitem_by_idx(sel)
            if item:
                return self.cls(self.driver, item, self.parent)
            raise RuntimeError(
                "Index out of bound. Requested item at "
                f"{sel} while limit is {len(self)} in "
                f"{self.parent}"
            )
        if isinstance(sel, str):
            item = self._getitem_by_id(sel)
            if item:
                return item
>           raise RuntimeError(f'no "{sel}" found in {self.parent}')
E           RuntimeError: no "Service" found in Consumer caveat popup

tests/gui/utils/core/web_objects.py:82: RuntimeError