blob: fe5602697917741512f891dc5793a2aab799814c [file] [log] [blame]
Rahul Maheshwaribce8f712021-06-01 06:26:48 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Dumps" sub-menu of "Health" menu.
4
5Resource ../../lib/gui_resource.robot
6
7Suite Setup Suite Setup Execution
8Suite Teardown Close Browser
9
10
11*** Variables ***
12
13${xpath_dumps_heading} //h1[text()="Dumps"]
14${xpath_initiate_dump_button} //button[contains(text(),'Initiate dump')]
15
16
17*** Test Cases ***
18
19Verify Navigation To Dumps Page
20 [Documentation] Verify navigation to dumps page.
21 [Tags] Verify_Navigation_To_Dumps_Page
22
23 Page Should Contain Element ${xpath_dumps_heading}
24
25
26Verify Existence Of All Sections In Dump Page
27 [Documentation] Verify existence of all sections in dump page.
28 [Tags] Verify_Existence_Of_All_Sections_In_Dump_Page
29
30 Page Should Contain Initiate dump
31 Page Should Contain Dumps available on BMC
32
33
34Verify Existence Of All Buttons In Dump Page
35 [Documentation] Verify existence of all buttons in dump page.
36 [Tags] Verify_Existence_Of_All_Buttons_In_Dump_Page
37
38 Page Should Contain Element ${xpath_initiate_dump_button}
39
40
41*** Keywords ***
42
43Suite Setup Execution
44 [Documentation] Do test suite setup tasks.
45
46 Launch Browser And Login GUI
47 Click Element ${xpath_health_menu}
48 Click Element ${xpath_dumps_sub_menu}
49 Wait Until Keyword Succeeds 30 sec 5 sec Location Should Contain dumps