blob: f5e9a75ce36ffc9fa3889e3888f42f786ce78f40 [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
Sushma M M26302992020-08-31 01:15:26 -050014${xpath_certificate_heading} //h1[text()="SSL certificates"]
Sushma M M98fa8772020-07-09 02:38:33 -050015${xpath_add_certificate_button} //button[contains(text(),"Add new certificate")]
16
17*** Test Cases ***
18
Sushma M M26302992020-08-31 01:15:26 -050019Verify Navigation To SSL Certificate Page
20 [Documentation] Verify navigation to SSL certificate page.
21 [Tags] Verify_Navigation_To_SSL_Certificate_Page
22
23 Page Should Contain Element ${xpath_certificate_heading}
24
25
Sushma M M98fa8772020-07-09 02:38:33 -050026Verify Existence Of All Sections In Certificate Page
27 [Documentation] Verify existence of all sections in certificate page.
28 [Tags] Verify_Existence_Of_All_Sections_In_Certificate_Page
29
30 Page should contain Certificate
31 Page should contain Valid from
32 Page should contain Valid until
33
34
35Verify Existence Of Add Certificate Button
36 [Documentation] Verify existence of add certificate button.
37 [Tags] Verify_Existence_Of_Add_Certificate_Button
38
39 Page Should Contain Element ${xpath_add_certificate_button}
40
41
42*** Keywords ***
43
44Test Setup Execution
45 [Documentation] Do test case setup tasks.
46
47 Click Element ${xpath_access_control_menu}
48 Click Element ${xpath_ssl_certificates_sub_menu}
49 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain ssl-certificates