1*** Settings *** 2 3Documentation Test suite for Open BMC GUI "Notices" menu. 4 5Resource ../../lib/gui_resource.robot 6 7Suite Setup Suite Setup Execution 8Suite Teardown Close Browser 9 10Test Tags Notices_Menu 11 12*** Variables *** 13 14${xpath_notice_menu} //*[@data-test-id='nav-item-notices'] 15${xpath_notices_header} //h1[contains(text(), "Notices")] 16 17*** Test Cases *** 18 19Verify Navigate To Notices Page 20 [Documentation] Login to GUI and perform page navigation to 21 ... Notices page and verify it loads successfully. 22 [Tags] Verify_Navigate_To_Notices_Page 23 24 Page Should Contain Element ${xpath_notices_header} 25 26 27Verify Existence Of All Licenses In Notices Page 28 [Documentation] Verify all required licenses are available on Notices page. 29 [Tags] Verify_Existence_Of_All_Licenses_In_Notices_Page 30 31 Page Should Contain Apache License 32 Page Should Contain Artistic License 33 Page Should Contain BSD license 34 Page Should Contain Boost Software License 35 Page Should Contain Bzip license 36 Page Should Contain GNU GENERAL PUBLIC LICENSE 37 Page Should Contain GCC RUNTIME LIBRARY EXCEPTION 38 Page Should Contain ISC License 39 Page Should Contain GNU LIBRARY GENERAL PUBLIC LICENSE 40 Page Should Contain GNU LESSER GENERAL PUBLIC LICENSE 41 Page Should Contain MIT License 42 Page Should Contain Mozilla Public License Version 43 Page Should Contain OpenLDAP Public License 44 Page Should Contain OpenSSL License 45 Page Should Contain PYTHON SOFTWARE FOUNDATION LICENSE 46 Page Should Contain zlib License 47 48 49*** Keywords *** 50 51Suite Setup Execution 52 [Documentation] Do suite setup tasks. 53 54 Launch Browser And Login GUI 55 Click Element ${xpath_notice_menu} 56 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain notices 57 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 58