Updated existing keyword
- Updated Power On and Power Off server keywords
Added new keywords
- Check Boot Progress State Via Redfish
- Verify Information Message Via GUI
Tested:- Successfully run.
Change-Id: I134ee95a00015e65fb1dedeae77746145336d2ab
Signed-off-by: rramyasr in <rramyasr@in.ibm.com>
diff --git a/gui/data/gui_variables.py b/gui/data/gui_variables.py
index 088be97..23b2883 100644
--- a/gui/data/gui_variables.py
+++ b/gui/data/gui_variables.py
@@ -125,6 +125,11 @@
"//*[@data-test-id='profileSettings-input-confirmPassword']"
)
+ # Reboot sub menu
+ xpath_reboot_bmc_heading = "//h1[text()='Reboot BMC']"
+ xpath_reboot_bmc_button = "//button[contains(text(),'Reboot BMC')]"
+ xpath_confirm_bmc_reboot = "//*[@class='btn btn-primary']"
+
# Common variables
xpath_save_settings_button = "//button[contains(text(),'Save')]"
xpath_confirm_button = "//button[contains(text(),'Confirm')]"
@@ -143,8 +148,4 @@
xpath_unauthorized_popup = (
"//*[contains(text(),'Unauthorized')]/following-sibling::button"
)
-
- # Reboot sub menu
- xpath_reboot_bmc_heading = "//h1[text()='Reboot BMC']"
- xpath_reboot_bmc_button = "//button[contains(text(),'Reboot BMC')]"
- xpath_confirm_bmc_reboot = "//*[@class='btn btn-primary']"
+ xpath_information_message = "//*[contains(text(),'Reload the browser page to get the updated content.')]"