blob: 4a2a1196d71e2ed13909ff59731888b415d3f0e7 [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
7Suite Setup Login OpenBMC GUI
8Suite 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
26Login OpenBMC GUI
27
28 Open Browser With URL ${xpath_openbmc_url}
29 Login OpenBMC GUI ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}
30
31
32
33