Added Read only user testcases to verify GUI page
Changes:
- Verify Server Power Operations Page With
Read only User With Host On State
- Verify Server Power Operations Page With
Read only User With Host Off State
- Verify Save Button With Read only User
Tested:
- Successfully ran this from gui/gui_test
Change-Id: I9068eb3a53993e21d6b4358e6b4e54e57a8c06af
Signed-off-by: rramyasr in <rramyasr@in.ibm.com>
diff --git a/gui/data/gui_variables.py b/gui/data/gui_variables.py
index f36208c..088be97 100644
--- a/gui/data/gui_variables.py
+++ b/gui/data/gui_variables.py
@@ -130,6 +130,7 @@
xpath_confirm_button = "//button[contains(text(),'Confirm')]"
xpath_cancel_button = "//button[contains(text(),'Cancel')]"
xpath_add_button = "//button[normalize-space(text())='Add']"
+ xpath_close_information_message = "//button[contains(text(),'×')]"
xpath_page_loading_progress_bar = (
"//*[@aria-label='Page loading progress bar']"
)