test (e2e): testRigor tests update (#2283)

This commit is contained in:
Amanda
2025-02-26 11:18:52 -06:00
committed by GitHub
parent 7105c2007a
commit ea15eecf2a
8 changed files with 58 additions and 14 deletions
+11 -1
View File
@@ -1,7 +1,7 @@
log-in-and-validate
navigate-to-admin-users-management
create-admin-user
check that page contains saved value "username" on the right of "Login Name"
check that page contains saved value "newAdminUsername" on the right of "Login Name"
check that page contains saved value "firstName" on the right of "First Name"
check that page contains saved value "lastName" on the right of "Last Name"
check that page contains saved value "email" on the right of "Email"
@@ -13,4 +13,14 @@ check that page contains saved value "lastName" below saved value "firstName"
check that page contains saved value "email" below saved value "firstName"
//validate login new admin profile
logout
validate-login-page
enter saved value "newAdminUsername" into "Username"
enter saved value "newAdminPassword" into "Password"
click "Login"
close-popup
check that page contains string with parameters "Welcome, ${newAdminUsername}!"
logout
// clean up
validate-login-page
log-in-and-validate
delete-admin-user
+3 -2
View File
@@ -11,11 +11,12 @@ click "Submit"
//validate in profile
check that page contains saved value "firstName" on the right of "Client Name :"
check that page contains saved value "lastName" on the right of "Client Name :"
check that page contains saved value "externalID" on the right of "External Id:"
check that page contains saved value "externalID" on the right of "External Id"
//validade in clients list
click "Clients"
enter saved value "firstName" into "Search"
enter enter
check that page contains saved value "firstName" below saved value "firstName"
check that page contains saved value "lastName" below saved value "firstName"
check that page contains saved value "externalID" onthe right of saved value "lastName"
check that page contains saved value "externalID" on the right of saved value "lastName"
delete-client
@@ -0,0 +1,17 @@
log-in-and-validate
navigate-to-offices
create-organization
//edit an organization
enter saved value "officeName" into "Filter"
click 2nd saved value "officeName"
click "Edit"
double click field "Office"
enter delete
generate unique name, then enter into field "Office" and save as "newOfficeName"
click "Submit"
check that page contains "General"
check that page contains saved value "newOfficeName"
//validate edited organization
click "Manage Offices"
enter saved value "newOfficeName" into "Filter"
check that page contains saved value "newOfficeName" below saved value "newOfficeName"
+2 -4
View File
@@ -1,8 +1,6 @@
// Setting wrong credentials
save value "wrong" as "username"
save value "wrong" as "password"
enter saved value "username" into field "Username"
enter saved value "password" into field "Password"
click exactly "Login"
save value "wrongpassword" as "password"
login
// validate invalid login message
check that page contains "Invalid User Details. Please try again!"