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,8 @@
|
||||
log-in-and-validate
|
||||
navigate-to-accounting-creation
|
||||
create-account
|
||||
click "Chart of Accounts"
|
||||
//validate account created
|
||||
check that page contains "Filter"
|
||||
enter saved value "glAccountName" into "Filter"
|
||||
check that page contains saved value "glAccountName" below saved value "glAccountName"
|
||||
@@ -0,0 +1,16 @@
|
||||
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 "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"
|
||||
navigate-to-admin-users-management
|
||||
//validate admin profile in table
|
||||
enter saved value "firstName" into "Filter"
|
||||
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 "email" below saved value "firstName"
|
||||
//validate login new admin profile
|
||||
logout
|
||||
log-in-and-validate
|
||||
@@ -0,0 +1,21 @@
|
||||
log-in-and-validate
|
||||
navigate-to-clients
|
||||
create-client
|
||||
//validate in preview
|
||||
check that page contains saved value "firstName" on the right of "Name"
|
||||
check that page contains saved value "lastName" on the right of "Name"
|
||||
check that page contains saved value "externalID" on the right of "External ID"
|
||||
check that page contains saved value "birthDate" on the right of "Date of Birth"
|
||||
check that page contains string with parameters "${todayDayOfMonthTwoDigits} ${todayMonth} ${todayYear}" on the right of "Submitted On Date"
|
||||
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:"
|
||||
//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"
|
||||
@@ -0,0 +1,32 @@
|
||||
log-in-and-validate
|
||||
navigate-to-accounting-creation
|
||||
create-account
|
||||
//navigate to journal
|
||||
click "Accounting"
|
||||
click "Create Journal Entries"
|
||||
//create a new Journal Entrie
|
||||
enter string with parameters "${todayMonthNumber}/${todayDayOfMonth}/${todayYear}" into "Transaction Date"
|
||||
click "Office"
|
||||
click "Office"
|
||||
click "Head Office"
|
||||
click "Currency"
|
||||
click "US Dollar"
|
||||
click "Affected GL Entry (Debit)"
|
||||
type saved value "glAccountName"
|
||||
click string with parameters "(${glCode}) ${glAccountName}"
|
||||
click "Affected GL Entry (Credit)"
|
||||
type saved value "glAccountName"
|
||||
click string with parameters "(${glCode}) ${glAccountName}" roughly below "Affected GL Entry (Credit)"
|
||||
click "Payment Type"
|
||||
click "Money Transfer"
|
||||
enter "300" into "Debit Amount"
|
||||
enter "300" into "Credit Amount"
|
||||
generate from template "%*********", then enter into "Reference Number" and save as "referenceNumber"
|
||||
click "Submit"
|
||||
//validate Transactions
|
||||
check that page contains "Revert Transaction"
|
||||
grab value from the right of "Transactions" and save as "transactionID"
|
||||
click "Journal Entries"
|
||||
enter saved value "transactionID" into "Transaction ID"
|
||||
check that page contains saved value "glAccountName" below saved value "transactionID"
|
||||
check that page contains saved value "transactionID" on the left of saved value "glAccountName"
|
||||
@@ -0,0 +1,7 @@
|
||||
log-in-and-validate
|
||||
navigate-to-offices
|
||||
create-organization
|
||||
enter saved value "officeName" into "Filter"
|
||||
check that page contains saved value "officeName" below saved value "officeName"
|
||||
check that page contains saved value "externalID" below saved value "officeName"
|
||||
check that page contains string with parameters "${todayDayOfMonthTwoDigits} ${todayMonth} ${todayYear}" on the right of saved value "externalID"
|
||||
@@ -0,0 +1,13 @@
|
||||
log-in-and-validate
|
||||
navigate-to-admin-users-management
|
||||
create-admin-user
|
||||
//delete admin profile
|
||||
check that page doesn't contain "Create User"
|
||||
click "Users"
|
||||
enter saved value "firstName" into "Filter"
|
||||
click second saved value "firstName"
|
||||
click "Delete"
|
||||
click "Confirm"
|
||||
//validate admin profile does NOT exist
|
||||
enter saved value "firstName" into "Filter"
|
||||
check that page doesn't contain saved value "firstName" below saved value "firstName"
|
||||
@@ -0,0 +1,13 @@
|
||||
log-in-and-validate
|
||||
navigate-to-clients
|
||||
create-client
|
||||
click "Submit"
|
||||
//delete client
|
||||
click "Client actions"
|
||||
click "Actions"
|
||||
click "Delete"
|
||||
click "Confirm"
|
||||
navigate-to-clients
|
||||
//validate client does NOT exist
|
||||
enter saved value "firstName" into "Search"
|
||||
check that page doesn't contain saved value "firstName" below saved value "firstName"
|
||||
@@ -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"
|
||||
@@ -0,0 +1,8 @@
|
||||
// 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"
|
||||
// validate invalid login message
|
||||
check that page contains "Invalid User Details. Please try again!"
|
||||
@@ -0,0 +1 @@
|
||||
log-in-and-validate
|
||||
@@ -0,0 +1,14 @@
|
||||
validate-login-page
|
||||
log-in-and-validate
|
||||
check that page doesn't contain field "Username"
|
||||
check that page doesn't contain field "Password"
|
||||
check that page doesn't contain button "Login"
|
||||
check that page doesn't contain button "Forgot Password?"
|
||||
check that page contains button "Institution"
|
||||
check that page contains button "Accounting"
|
||||
check that page contains button "Reports"
|
||||
check that page contains button "Admin"
|
||||
check that page contains button "Self Service"
|
||||
check that page contains button "Configuration Wizard"
|
||||
logout
|
||||
validate-login-page
|
||||
Reference in New Issue
Block a user