GUI acceptance tests using environment deployed from packages.

Build: #2530 failed

Job: Shares basic failed

Stages & jobs

  1. Acceptance Test

user creates two shares of one directory and sees them in shares view[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user creates two shares of one directory and sees them in shares view[1oz 1op deployed]" in build 2,530 of Onedata Products - gui acceptance pkg - Shares basic.
Description
user creates two shares of one directory and sees them in shares view[1oz 1op deployed]
Test class
gui.scenarios.test_shares_basic
Method
test_user_creates_two_shares_of_one_directory_and_sees_them_in_shares_view[1oz_1op_deployed]
Jira Issue
Duration
59 secs
Status
Failed (New Failure)

Error Log

AssertionError: Item {item_name} is not shared {number} times
request = <FixtureRequest for <Function 'test_user_creates_two_shares_of_one_directory_and_sees_them_in_shares_view[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-459>:2: in assert_number_of_shares_in_modal
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="1021972814386d0261b877799dc97af4")>}
browser_id = 'browser', item_name = 'dir1', number = '2'
modals = <class 'tests.gui.utils.common.modals.Modals'>

    @wt(parsers.re(r'user of (?P<browser_id>.*?) sees that item named'
                   r' "(?P<item_name>.*?)" '
                   'is shared (?P<number>.*?) times? in modal'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_number_of_shares_in_modal(selenium, browser_id, item_name, number,
                                         modals):
        name = 'Shares'
        driver = selenium[browser_id]
        modal = modals(driver).details_modal.shares
        navigation = modals(driver).details_modal.navigation
        links = modal.share_options
        info = look_for_tab_name(navigation, name)
        err_msg = 'Item {item_name} is not shared {number} times'
>       assert _assert_number_of_shares_in_modal(number, links, info), err_msg
E       AssertionError: Item {item_name} is not shared {number} times

tests/gui/steps/modals/modal.py:413: AssertionError