blob: e317169eac4e610c07ae28e5f6abe044ba61d652 [file] [log] [blame]
rramyasr-in838cff52022-08-03 12:29:50 -05001*** Settings ***
2
3Documentation Test OpenBMC GUI "Memory" sub-menu of "Resource Management".
4
5Resource ../../lib/gui_resource.robot
6Suite Setup Suite Setup Execution
7Suite Teardown Close Browser
8
9
10*** Variables ***
11
12${xpath_memory_header} //h1[text()="Memory"]
13${xpath_memory_sub_menu} //*[@data-test-id='nav-item-memory']
14
15*** Test Cases ***
16
17Verify Navigate To Memory Page
18 [Documentation] Login to GUI and perform page navigation to memory page
19 ... and verify it loads successfully.
20 [Tags] Verify_Navigate_To_Memory_Page
21
22 Page Should Contain Element ${xpath_memory_header}
23
24
25Verify Existence Of All Sections In Memory Page
26 [Documentation] Login to GUI and perform page navigation to memory page and
27 ... check if all visible sections is actually loaded successfully.
28 [Tags] Verify_Existence_Of_All_Sections_In_Memory_Page
29
30 Page Should Contain Quick links
31 Page Should Contain Logical memory block size
32 Page Should Contain System memory page setup
33 Page Should Contain I/O Adapter enlarged capacity
34 Page Should Contain Active memory mirroring
35
36
37*** Keywords ***
38
39Suite Setup Execution
40 [Documentation] Do suite setup tasks.
41
42 Launch Browser And Login GUI
43 Click Element ${xpath_resource_management_menu}
44 Click Element ${xpath_memory_sub_menu}
45 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain memory
46