test (e2e): Add new e2e testRigor tests (#2200)
E2e cover of the main functionalities CI added to build.yml Co-authored-by: Amanda Silva <amanda.silva@testrigor.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
click "Close" below "Warning" if exists
|
||||
@@ -0,0 +1,8 @@
|
||||
click "Account Type"
|
||||
click "INCOME"
|
||||
generate unique name, then enter into "Account Name" and save as "glAccountName"
|
||||
click "Account Usage"
|
||||
click "DETAIL"
|
||||
generate unique name, then enter into "GL Code" and save as "glCode"
|
||||
click "Submit"
|
||||
check that page doesn't contain "Submit"
|
||||
@@ -0,0 +1,15 @@
|
||||
click "Create User"
|
||||
generate unique name, then enter into "First Name" and save as "firstName"
|
||||
generate unique name, then enter into "Last Name" and save as "lastName"
|
||||
generate unique name, then enter into "Username" and save as "username"
|
||||
generate unique email, then enter into "Email" and save as "email"
|
||||
click "Send password to email address"
|
||||
save value "Mifos!123" as "password"
|
||||
enter stored value "password" into "Password"
|
||||
enter stored value "password" into "Repeat Password"
|
||||
click "Office"
|
||||
click "Head Office"
|
||||
click "Roles"
|
||||
click "Super User"
|
||||
click "Submit"
|
||||
click "Submit"
|
||||
@@ -0,0 +1,11 @@
|
||||
click "Create Client"
|
||||
generate unique name, then enter into "First Name" and save as "firstName"
|
||||
generate unique name, then enter into "Last Name" and save as "lastName"
|
||||
generate from template "*******", then enter into "External ID" and save as "externalID"
|
||||
click "Office"
|
||||
click "Head Office"
|
||||
pick-birthdate // birthDate
|
||||
generate unique email, then enter into "Email Address" and save as "email"
|
||||
generate from template "+##-###-###-####", then enter into "Mobile No" and save as "mobileNo"
|
||||
click "Next"
|
||||
click "Next"
|
||||
@@ -0,0 +1,12 @@
|
||||
click "Create Office"
|
||||
generate unique name, then enter into "Office" and save as "officeName"
|
||||
generate unique name, then enter into "External ID" and save as "externalID"
|
||||
click "Parent Office"
|
||||
click "Head Office"
|
||||
pick-today-date
|
||||
click "Submit"
|
||||
// validate organization created
|
||||
enter saved value "officeName" into "Filter"
|
||||
check that page contains saved value "officeName" roughly below "Office Name"
|
||||
check that page contains saved value "externalID" roughly below "External ID"
|
||||
check that page contains string with parameters "${todayDayOfMonth} ${todayMonth} ${todayYear}" roughly below "Opened On"
|
||||
@@ -0,0 +1,5 @@
|
||||
enter saved value "username" into field "Username"
|
||||
enter saved value "password" into field "Password"
|
||||
click exactly "Login"
|
||||
close-popup
|
||||
check that page contains string with parameters "Welcome, ${username}!"
|
||||
@@ -0,0 +1,2 @@
|
||||
click third "menu" on the right of "Search"
|
||||
click "Sign Out"
|
||||
@@ -0,0 +1,3 @@
|
||||
click "Accounting"
|
||||
click "Chart of Accounts"
|
||||
click "Add Account"
|
||||
@@ -0,0 +1,2 @@
|
||||
click "Admin"
|
||||
click "Users" below "Admin"
|
||||
@@ -0,0 +1,2 @@
|
||||
click "Institution"
|
||||
click "Clients" below "Institution"
|
||||
@@ -0,0 +1,3 @@
|
||||
click "Admin"
|
||||
click "Organization" below "Admin"
|
||||
click "Manage Offices"
|
||||
@@ -0,0 +1,8 @@
|
||||
click field "Date Of Birth"
|
||||
click string with parameters "${todayMonthShort} ${todayYear}"
|
||||
// calculate today year - 20 and save as birthYear
|
||||
save expression "${todayYear} - 20" as "birthYear"
|
||||
click exactly saved value "birthYear"
|
||||
click saved value "todayMonthShort"
|
||||
pick-today-date
|
||||
save string with parameters "${todayDayOfMonth} ${todayMonth} ${birthYear}" as "birthDate"
|
||||
@@ -0,0 +1,2 @@
|
||||
click field "Opened On" if exists
|
||||
click exactly saved value "todayDayOfMonth" roughly below saved value "todayMonthShort"
|
||||
@@ -0,0 +1,4 @@
|
||||
check that page contains field "Username"
|
||||
check that page contains field "Password"
|
||||
check that page contains button "Login"
|
||||
check that page contains button "Forgot Password?"
|
||||
Reference in New Issue
Block a user