Build: #1 failed
Job: Onepanel basic failed
user deregisters provider registers it again and sees that provider is working: Test case result
The below summarizes the result of the test " user deregisters provider registers it again and sees that provider is working" in build 1 of Onedata Products - gui acceptance pkg - bugfix-VFS-4564-fix-failing-onenv-sources-tests - Chrome onepanel basic tests.
- Description
- user deregisters provider registers it again and sees that provider is working
- Test class
- gui.scenarios.test_onepanel_basic
- Method
- test_user_deregisters_provider_registers_it_again_and_sees_that_provider_is_working
- Duration
- 29 secs
- Status
- Failed (New Failure)
Error Log
AssertionError: expected only set(['dev-oneprovider-krakow']) as supporting providers, but displayed are set([u'pro1']) request = <FixtureRequest for <Function 'test_user_deregisters_provider_registers_it_again_and_sees_that_provider_is_working'>> from tests.gui.steps.oneprovider.file_browser import * > from tests.gui.steps.oneprovider.metadata import * tests/gui/scenarios/test_onepanel_basic.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:195: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:137: in _execute_step_function step_func(**kwargs) <decorator-gen-224>:2: in assert_supporting_providers_for_space_in_oz ??? tests/gui/utils/generic.py:108: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'admin': <selenium.webdriver.chrome.webdriver.WebDriver (session="d837ed6f9006e85a79f30567035a233f")>, 'browser1': <s...19f4a50ab63f")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="4b9201d0e8b7c45f03a819f4a50ab63f")>} browser_id = 'browser2', name = 'space1', providers_list = '"oneprovider-1"' oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'> hosts = {'oneprovider-1': {'container_id': 'None', 'hostname': 'dev-oneprovider-krakow.default.svc.cluster.local', 'ip': 'None...'container_id': 'None', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': 'None', 'name': 'dev-onezone', ...}} @when(parsers.parse('user of {browser_id} sees that list of supporting ' 'providers for space named "{name}" in expanded "DATA ' 'SPACE MANAGEMENT" Onezone panel contains only: ' '{providers_list}')) @then(parsers.parse('user of {browser_id} sees that list of supporting ' 'providers for space named "{name}" in expanded "DATA ' 'SPACE MANAGEMENT" Onezone panel contains only: ' '{providers_list}')) @repeat_failed(timeout=WAIT_BACKEND) def assert_supporting_providers_for_space_in_oz(selenium, browser_id, name, providers_list, oz_page, hosts): driver = selenium[browser_id] space_item = oz_page(driver)['data space management'].spaces[name] displayed_providers = {provider.name for provider in space_item.providers} expected_providers = set([hosts[p]['name'] for p in parse_seq(providers_list)]) assert displayed_providers == expected_providers, \ ('expected only {} as supporting providers, ' > 'but displayed are {}'.format(expected_providers, displayed_providers)) E AssertionError: expected only set(['dev-oneprovider-krakow']) as supporting providers, but displayed are set([u'pro1']) tests/gui/steps/onezone/data_space_management.py:151: AssertionError