blob: 05ca46a8490e109bea4ca65a2becfa60b05dc5a3 [file] [log] [blame]
Sivas SRR5137ea52018-02-06 08:23:26 -06001*** Settings ***
2
3Documentation Test Open BMC GUI BMC host information under GUI Header.
4
5Resource ../../lib/resource.robot
6
Sivas SRRa6925352018-02-19 08:59:03 -06007Suite Setup Suite Setup Execution
Sivas SRR5137ea52018-02-06 08:23:26 -06008Suite Teardown Close Browser
9
10*** Variables ***
11${xpath_select_server_control} //*[@id="header__wrapper"]/div/div[2]/p[2]
12
13*** Test Cases ***
14
15Verify IP address
16 [Documentation] Verify BMC IP address displayed in GUI header.
17 [Tags] Verify_IP_address
18
19 # NOTE: gui_displayed_ip can be either a host name or an IP address.
20 # (e.g. "machinex" or "xx.xx.xx.xx").
21 ${gui_displayed_ip}= Get Text ${xpath_select_server_control}
22 Should Contain ${gui_displayed_ip} ${OPENBMC_HOST}
23
24*** Keywords ***
25
Sivas SRRa6925352018-02-19 08:59:03 -060026Suite Setup Execution
Sivas SRR5137ea52018-02-06 08:23:26 -060027
Sivas SRRa6925352018-02-19 08:59:03 -060028 Open Browser With URL ${obmc_gui_url}
Sivas SRR5137ea52018-02-06 08:23:26 -060029 Login OpenBMC GUI ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}
30
31
32
33