Sushma M M | 98fa877 | 2020-07-09 02:38:33 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test OpenBMC GUI "SSL Certificates" sub-menu of "Access control". |
| 4 | |
| 5 | Resource ../../lib/resource.robot |
| 6 | |
| 7 | Suite Setup Launch Browser And Login GUI |
| 8 | Suite Teardown Close Browser |
| 9 | Test Setup Test Setup Execution |
| 10 | |
| 11 | |
| 12 | *** Variables *** |
| 13 | |
| 14 | ${xpath_add_certificate_button} //button[contains(text(),"Add new certificate")] |
| 15 | |
| 16 | *** Test Cases *** |
| 17 | |
| 18 | Verify Existence Of All Sections In Certificate Page |
| 19 | [Documentation] Verify existence of all sections in certificate page. |
| 20 | [Tags] Verify_Existence_Of_All_Sections_In_Certificate_Page |
| 21 | |
| 22 | Page should contain Certificate |
| 23 | Page should contain Valid from |
| 24 | Page should contain Valid until |
| 25 | |
| 26 | |
| 27 | Verify Existence Of Add Certificate Button |
| 28 | [Documentation] Verify existence of add certificate button. |
| 29 | [Tags] Verify_Existence_Of_Add_Certificate_Button |
| 30 | |
| 31 | Page Should Contain Element ${xpath_add_certificate_button} |
| 32 | |
| 33 | |
| 34 | *** Keywords *** |
| 35 | |
| 36 | Test Setup Execution |
| 37 | [Documentation] Do test case setup tasks. |
| 38 | |
| 39 | Click Element ${xpath_access_control_menu} |
| 40 | Click Element ${xpath_ssl_certificates_sub_menu} |
| 41 | Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain ssl-certificates |