GUI acceptance tests using environment deployed from packages.

Build: #2800 failed

Job: Storage sync failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user does not see files update when detect modifications is disabled[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user does not see files update when detect modifications is disabled[1oz 1op deployed]" in build 2,800 of Onedata Products - gui acceptance pkg - Storage sync.
Description
user does not see files update when detect modifications is disabled[1oz 1op deployed]
Test class
gui.scenarios.test_storage_sync
Method
test_user_does_not_see_files_update_when_detect_modifications_is_disabled[1oz_1op_deployed]
Duration
2 mins
Status
Failed (Existing Failure)

Error Log

RuntimeError: cannot click on button btn in SyncChart in Space in SpacesContentPage in content in dev-oneprovider-krakow Oneprovider Panel 21.02.4
request = <FixtureRequest for <Function 'test_user_does_not_see_files_update_when_detect_modifications_is_disabled[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-301>:2: in wt_clicks_on_option_in_spaces_page
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/onepanel/spaces.py:339: in wt_clicks_on_option_in_spaces_page
    space.sync_chart.settings()
tests/gui/utils/core/web_objects.py:21: in __call__
    self.click()
tests/gui/utils/core/base.py:81: in click
    click_on_web_elem(self.driver, self._click_area,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="7205cd0ec8b35fb9176169a9498dd2a9")>
web_elem = <selenium.webdriver.remote.webelement.WebElement (session="7205cd0ec8b35fb9176169a9498dd2a9", element="c1967ed1-9f5c-4a37-ac9a-64af52522fbf")>
err_msg = 'cannot click on button btn in SyncChart in Space in SpacesContentPage in content in dev-oneprovider-krakow\nOneprovider Panel 21.02.4'
delay = True

    def click_on_web_elem(driver, web_elem, err_msg, delay=True):
        disabled = 'disabled' in web_elem.get_attribute('class')
        # scroll to make the element visible
        if not web_elem.is_displayed():
            web_elem.location_once_scrolled_into_view
        if web_elem.is_enabled() and web_elem.is_displayed() and not disabled:
            # TODO VFS-7484 make optional sleep and localize only those tests
            #  that need it or find better alternative
            # currently checking if elem is enabled not always work
            # (probably after striping disabled from web elem
            # elem is not immediately clickable)
            if delay:
                sleep(delay if isinstance(delay, float) else 0.25)
            action = ActionChains(driver)
            action.move_to_element(web_elem).click_and_hold(web_elem).release(
                web_elem)
            action.perform()
        else:
            with suppress(TypeError):
                err_msg = err_msg()
>           raise RuntimeError(err_msg)
E           RuntimeError: cannot click on button btn in SyncChart in Space in SpacesContentPage in content in dev-oneprovider-krakow
E           Oneprovider Panel 21.02.4

tests/gui/utils/generic.py:153: RuntimeError