Sivas SRR | 5137ea5 | 2018-02-06 08:23:26 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Test Open BMC GUI BMC host information under GUI Header. |
| 4 | |
| 5 | Resource ../../lib/resource.robot |
| 6 | |
Sivas SRR | a692535 | 2018-02-19 08:59:03 -0600 | [diff] [blame^] | 7 | Suite Setup Suite Setup Execution |
Sivas SRR | 5137ea5 | 2018-02-06 08:23:26 -0600 | [diff] [blame] | 8 | Suite Teardown Close Browser |
| 9 | |
| 10 | *** Variables *** |
| 11 | ${xpath_select_server_control} //*[@id="header__wrapper"]/div/div[2]/p[2] |
| 12 | |
| 13 | *** Test Cases *** |
| 14 | |
| 15 | Verify 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 SRR | a692535 | 2018-02-19 08:59:03 -0600 | [diff] [blame^] | 26 | Suite Setup Execution |
Sivas SRR | 5137ea5 | 2018-02-06 08:23:26 -0600 | [diff] [blame] | 27 | |
Sivas SRR | a692535 | 2018-02-19 08:59:03 -0600 | [diff] [blame^] | 28 | Open Browser With URL ${obmc_gui_url} |
Sivas SRR | 5137ea5 | 2018-02-06 08:23:26 -0600 | [diff] [blame] | 29 | Login OpenBMC GUI ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD} |
| 30 | |
| 31 | |
| 32 | |
| 33 | |