GUI acceptance tests using environment deployed from packages.

Build: #1522 failed Child of ODSRV-OZP-1568

Test results

  • 566 tests in total
  • 8 tests failed
  • 5 failures are new
  • 3 tests were fixed
  • 5 tests were quarantined / skipped
  • 904 minutes taken in total.
New test failures 5
Status Test View job Duration
Collapse Failed test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-user-user1-fails-all except [data:delete child]]
Chrome oneprovider ACL subdirectories 3 mins
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="e9e497528597eb70e2275a47a3b021d0")>, 'space...17d7f89b3576")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="e9e497528597eb70e2275a47a3b021d0")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...e-eb144604ce05")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f439ad2a198>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(152 more lines...)
Collapse Failed test_public_shares test_user_views_and_downloads_files_from_public_interface_of_share_shared_from_another_user_from_share_directory_modal[1oz_1op_deployed]
Chrome public shares tests 5 mins
AssertionError: displayed share cwd in file browser is share_dir1 instead of expected /dir1
request = <FixtureRequest for <Function 'test_user_views_and_downloads_files_from_public_interface_of_share_shared_from_another_user_from_share_directory_modal[1oz_1op_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: 
(29 more lines...)
Collapse Failed test_public_shares test_shares_public_interface_still_works_after_the_only_space_member_left_the_space_containing_share[1oz_1op_deployed]
Chrome public shares tests 2 mins
AssertionError: not found "file1" in file browser
request = <FixtureRequest for <Function 'test_shares_public_interface_still_works_after_the_only_space_member_left_the_space_containing_share[1oz_1op_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: 
(37 more lines...)
Collapse Failed test_public_shares test_user_sees_new_files_in_shares_public_interface_after_owner_added_them_to_shared_directory[1oz_1op_deployed]
Chrome public shares tests 2 mins
AssertionError: not found "20B-0.txt" in file browser
request = <FixtureRequest for <Function 'test_user_sees_new_files_in_shares_public_interface_after_owner_added_them_to_shared_directory[1oz_1op_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: 
(37 more lines...)
Collapse Failed test_public_shares test_user_does_not_see_file_in_shares_public_interface_after_owner_removed_them_from_shared_directory[1oz_1op_deployed]
Chrome public shares tests 2 mins
AssertionError: not found "file1" in file browser
request = <FixtureRequest for <Function 'test_user_does_not_see_file_in_shares_public_interface_after_owner_removed_them_from_shared_directory[1oz_1op_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: 
(37 more lines...)
Existing test failures 3
Status Test Failing since View job Duration
AssertionError: Expected 1 dev-oneprovider-krakow record but got 0
request = <FixtureRequest for <Function 'test_user_deregisters_dead_duplicated_provider[1oz_1op_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: 
(31 more lines...)
RuntimeError: no  item found in GetSupportPage in SpaceProvidersPage in DataPage in Onezone page
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="4df3308ce78db890fe06d0d7954f597c", element="d2b2bd32-1706-420a-bc5f-dd1544cb6471")>
css_sel = '.error'
err_msg = 'no  item found in GetSupportPage in SpaceProvidersPage in DataPage in Onezone page'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(300 more lines...)
RuntimeError: no  item found in Public Share View
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="8087e21f3d840f6dade66445f59eb141")>
css_sel = '.error-details.active'
err_msg = 'no  item found in Public Share View'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(281 more lines...)
Fixed tests 3
Status Test Failing since View job Duration
Successful test_onepanel_login test_user_successfully_logout[1oz_1op_deployed]
Failing since build #1520 (Child of ODSRV-OZP-1566) Chrome onepanel login tests 15 secs
Successful test_onepanel_login test_user_successfully_goes_to_onezone_page_from_emeregency_interface[1oz_1op_deployed]
Failing since build #1520 (Child of ODSRV-OZP-1566) Chrome onepanel login tests 24 secs
Successful test_onepanel_login test_user_successfully_login_to_emergency_interface_of_onezone_panel[1oz_1op_deployed]
Failing since build #1520 (Child of ODSRV-OZP-1566) Chrome onepanel login tests 3 mins
Quarantined tests 5
Status Test Failing since Quarantined by View job Duration
Collapse Failed test_multiprovider_qos test_a_qos_requirement_is_met_after_removing_the_parameter_and_adding_it_again[1oz_2op_deployed]
Failing since build #1392 (Changes by Agnieszka Warchol) Not quarantined Chrome multiprovider QoS tests 6 mins
RuntimeError: no  item found in Requirement in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="ed26ba945a2f882a0f53108deb4c3cd7", element="1ae2ff5e-0d8c-4489-ae27-16f4ddfcd35f")>
css_sel = '.qos-status-impossible'
err_msg = 'no  item found in Requirement in Quality of Service modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(302 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_migrate_file_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #1447 (Child of ODSRV-OZP-1532) Not quarantined Chrome transfers tests 5 mins
RuntimeError: Index out of bound. Requested item at 0 while limit is 0 in _TransfersTab in Oneprovider page
request = <FixtureRequest for <Function 'test_user_tries_to_migrate_file_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: 
(31 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_replicate_file_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #1447 (Child of ODSRV-OZP-1532) Not quarantined Chrome transfers tests 5 mins
RuntimeError: Index out of bound. Requested item at 0 while limit is 0 in _TransfersTab in Oneprovider page
request = <FixtureRequest for <Function 'test_user_tries_to_replicate_file_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: 
(31 more lines...)
Collapse Failed test_onezone_basic test_user_sees_that_group_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Failing since build #1521 (Child of ODSRV-OZP-1567) Not quarantined Chrome onezone basic tests 1 min
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_group_added_to_cluster_has_default_privileges[1oz_1op_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: 
(34 more lines...)
Collapse Failed test_onezone_basic test_user_sees_that_user_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Failing since build #1521 (Child of ODSRV-OZP-1567) Not quarantined Chrome onezone basic tests 1 min
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_user_added_to_cluster_has_default_privileges[1oz_1op_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: 
(34 more lines...)