GUI acceptance tests using environment deployed from packages.

Build: #1975 failed

Job: Transfers directories failed

Stages & jobs

  1. Acceptance Test

user tries to migrate directory to too small space on remote provider[1oz 2op deployed]: Test case result

The below summarizes the result of the test " user tries to migrate directory to too small space on remote provider[1oz 2op deployed]" in build 1,975 of Onedata Products - gui acceptance pkg - Chrome transfers directories.
Description
user tries to migrate directory to too small space on remote provider[1oz 2op deployed]
Test class
gui.scenarios.test_oneprovider_transfers_directories
Method
test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Jira Issue
Duration
36 secs
Status
Failed (New Failure)

Error Log

RuntimeError: smallSpace space not found
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="50965e92ae2d0367b11a69950137c8c2")>
name = 'smallSpace'

    def _choose_space_from_menu_list(oz_page, driver, name):
        option = 'data'
        try:
>           oz_page(driver)[option].spaces_header_list[name]()

tests/gui/steps/onezone/spaces.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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

    def __getitem__(self, sel):
        if isinstance(sel, int):
            item = self._getitem_by_idx(sel)
            if item:
                return self.cls(self.driver, item, self.parent)
            else:
                raise RuntimeError('Index out of bound. Requested item at '
                                   '{idx} while limit is {limit} in '
                                   '{parent}'.format(idx=sel, limit=len(self),
                                                     parent=self.parent))
        elif isinstance(sel, str):
            item = self._getitem_by_id(sel)
            if item:
                return item
            else:
                raise RuntimeError('no "{id}" found in '
                                   '{parent}'.format(id=sel,
>                                                    parent=self.parent))
E               RuntimeError: no "smallSpace" found in DataPage in Onezone page

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

During handling of the above exception, another exception occurred:

request = <FixtureRequest for <Function 'test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.6/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)
tests/gui/meta_steps/onezone/common.py:131: in wt_visit_file_browser
    browser_id_list, op_container, tmp_memory, hosts)
tests/gui/meta_steps/onezone/common.py:104: in visit_file_browser
    space, oz_page)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-289>:2: in click_element_on_lists_on_left_sidebar_menu
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/onezone/spaces.py:123: in click_element_on_lists_on_left_sidebar_menu
    _choose_space_from_menu_list(oz_page, driver, name)
tests/gui/steps/onezone/spaces.py:26: in _choose_space_from_menu_list
    oz_page(driver)[option].choose_space(name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.gui.utils.onezone.data_page.DataPage object at 0x7f0d64149748>
name = 'smallSpace'

    def choose_space(self, name):
        for space in self.elements_list:
            if space.name == name or space.name == '':
                space.click()
                if space.name == name:
                    return
        else:
>           raise RuntimeError(f'{name} space not found')
E           RuntimeError: smallSpace space not found

tests/gui/utils/onezone/data_page.py:230: RuntimeError