GUI acceptance tests using environment deployed from packages.
Build: #2911 failed
Job: Onepanel basic failed
user succeeds to create 2 storages with the same name[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user succeeds to create 2 storages with the same name[1oz 1op deployed]" in build 2,911 of Onedata Products - gui acceptance pkg - Onepanel basic.
- Description
- user succeeds to create 2 storages with the same name[1oz 1op deployed]
- Test class
- gui.scenarios.test_onepanel_basic
- Method
- test_user_succeeds_to_create_2_storages_with_the_same_name[1oz_1op_deployed]
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: storage not visible 2 times on storages list fixturefunc = <function assert_number_storages_with_same_name at 0x7ff1e0629e40> request = <FixtureRequest for <Function test_user_succeeds_to_create_2_storages_with_the_same_name[1oz_1op_deployed]>> kwargs = {'browser_id': 'browser_unified', 'name': 'storage', 'number': '2', 'onepanel': <class 'tests.gui.utils.onepanel.Onepanel'>, ...} 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) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser_emergency': <selenium.webdriver.chrome.webdriver.WebDriver (session="76da52cab9bbd07b052873a4ea0eccc3")>, 'b...': <SubRequest 'selenium' for <Function test_user_succeeds_to_create_2_storages_with_the_same_name[1oz_1op_deployed]>>} browser_id = 'browser_unified', name = 'storage' onepanel = <class 'tests.gui.utils.onepanel.Onepanel'>, number = 2 @wt(parsers.parse('user of {browser_id} sees {number} storages named "{name}" ' 'with different IDs on the storages list')) @repeat_failed(timeout=WAIT_FRONTEND) def assert_number_storages_with_same_name(selenium, browser_id, name, onepanel, number: int): driver = selenium[browser_id] storages_list = onepanel(driver).content.storages.storages filtered = [storage for storage in storages_list if storage.name.split(CONFLICT_NAME_SEPARATOR)[0] == name] ids = [s.name.split(CONFLICT_NAME_SEPARATOR)[1] for s in filtered] > assert len(filtered) == number, ( f'{name} not visible {number} times on storages list') E AssertionError: storage not visible 2 times on storages list tests/gui/steps/onepanel/storages.py:190: AssertionError