blob: 5033543996e563e985283ef84581a5353930d7cb [file] [log] [blame]
Sushma M M98fa8772020-07-09 02:38:33 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "SSL Certificates" sub-menu of "Access control".
4
5Resource ../../lib/resource.robot
6
7Suite Setup Launch Browser And Login GUI
8Suite Teardown Close Browser
9Test 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
18Verify 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
27Verify 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
36Test 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