Skip to content

Commit 7ef2c44

Browse files
committed
Added keyword to gui_resource.robot
Changes: - Added keyword to launch browser and login gui with given user. Tested: - Ran the test case from sandbox successfully. Change-Id: I14783527aa4d8491f7b66f02db714cb0853ce1da Signed-off-by: sarandev3 <[email protected]>
1 parent 58b5569 commit 7ef2c44

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

gui/lib/gui_resource.robot

+12
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,18 @@ Login GUI
104104
Wait Until Element Is Not Visible
105105
... ${xpath_page_loading_progress_bar} timeout=120s
106106

107+
Launch Browser And Login GUI With Given User
108+
[Documentation] Launch browser and login eBMC with specified user
109+
... credentials through GUI.
110+
[Arguments] ${user_name} ${user_password}
111+
112+
# Description of argument(s):
113+
# user_name User name to login to eBMC.
114+
# user_password User password to login to eBMC.
115+
116+
Open Browser With URL ${obmc_gui_url}
117+
LOGIN GUI ${user_name} ${user_password}
118+
107119
Logout GUI
108120
[Documentation] Logout of OpenBMC GUI.
109121

0 commit comments

Comments
 (0)