GUI acceptance tests using environment deployed from packages.

Build: #2746 failed

Job: Onezone spaces multiuser failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

user adds one of his harvesters to space and another user deletes this harvester[1oz 1op elasticsearch]: Test case result

The below summarizes the result of the test " user adds one of his harvesters to space and another user deletes this harvester[1oz 1op elasticsearch]" in build 2,746 of Onedata Products - gui acceptance pkg - Onezone spaces multiuser.
Description
user adds one of his harvesters to space and another user deletes this harvester[1oz 1op elasticsearch]
Test class
gui.scenarios.test_onezone_spaces_multiuser
Method
test_user_adds_one_of_his_harvesters_to_space_and_another_user_deletes_this_harvester[1oz_1op_elasticsearch]
Duration
1 min
Status
Failed (New Failure)

Error Log

AttributeError: 'NoneType' object has no attribute 'elements_list'
request = <FixtureRequest for <Function 'test_user_adds_one_of_his_harvesters_to_space_and_another_user_deletes_this_harvester[1oz_1op_elasticsearch]'>>

    @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-1319>:2: in send_invitation_token
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/meta_steps/onezone/harvesters.py:207: in send_invitation_token
    click_element_on_lists_on_left_sidebar_menu(selenium, browser_id1,
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-543>:2: in click_element_on_lists_on_left_sidebar_menu
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="1d5fc7c6e2d0dded3ca467f78ff02f81")>, 'space_owner_browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="ffb9cc6c8fc31c21b68df0cb32238d71")>}
browser_id = 'browser1', option = 'discovery', name = 'harvester1'
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>

    @wt(parsers.re('user of (?P<browser_id>.*?) clicks "(?P<name>.*?)" '
                   'on the (?P<option>spaces|groups|harvesters) list in the sidebar'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def click_element_on_lists_on_left_sidebar_menu(selenium, browser_id, option,
                                                    name, oz_page):
        driver = selenium[browser_id]
        if option == 'harvesters':
            option = 'discovery'
    
        if option == 'spaces':
            _choose_space_from_menu_list(oz_page, driver, name)
        else:
>           oz_page(driver)[option].elements_list[name].click()
E           AttributeError: 'NoneType' object has no attribute 'elements_list'

tests/gui/steps/onezone/spaces.py:156: AttributeError