GUI acceptance tests using environment deployed from packages.

Build: #2723 failed

Job: Onepanel basic failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

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,723 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
3 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: storage not visible 2 times on storages list
request = <FixtureRequest for <Function 'test_user_succeeds_to_create_2_storages_with_the_same_name[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-319>:2: in assert_number_storages_with_same_name
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser_emergency': <selenium.webdriver.chrome.webdriver.WebDriver (session="11c45420b37c2c29d73eee0017907467")>, 'browser_unified': <selenium.webdriver.chrome.webdriver.WebDriver (session="a55c371eafaa79a7e06f553a52809afc")>}
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:184: AssertionError