Genesys PGR
Home > Requirements > Testing Login Functionality
Report generated 01-02-2021 09:25

Feature: Testing Login Functionality

Scenarios

Scenario details

Given user go to "/login" page

Then page "/login" is opened

And "Log in to manage datasets" title is present

When user open Login drop down

When user click on the "Registration" button

Then user on the registration "/registration" page

And form "Register a new account" is present

And fields "email" "password" "passwordConfirm" "fullName" are present on the form

And button "Register" is present

And Captcha is present

When user clear "email" "password" "passwordConfirm" "fullName" fields and click "Register" button

Then registration failed user is stayed on the "/registration" page

Given user go to "/login" page

Then page "/login" is opened

And "Log in to manage datasets" title is present

When perform login with "admin.username" login and "admin.password" password

Then page "/" is opened

Then logged in icon is appeared on the header for admin user

When user go to "/dashboard/profile" page

And in the user profile "Administrator" role is present

When user open Login drop down

When user click on the "Logout" button

Then page "/" is opened

Then user is logouted

When user go to "/login" page

Then page "/login" is opened

And "Log in to manage datasets" title is present

When perform login with "user.username" login and "user.password" password

Then page "/" is opened

Then logged in icon is appeared on the header for standart user

When user go to "/dashboard/profile" page

And in the user profile "Administrator" role isn't present

When user open Login drop down

When user click on the "Logout" button

Then user is logouted

When user go to "/login" page

Then page "/login" is opened

And "Log in to manage datasets" title is present

When perform login with "user.username" login and "admin.password" password

Then Error message "Bad credentials" is displayed

And "Log in to manage datasets" title is present

When perform login with "admin.username" login and "user.password" password

Then Error message "Bad credentials" is displayed

And "Log in to manage datasets" title is present

When perform login with "" login and "" password

Then Error message "Please fill in the fields" is displayed

And "Log in to manage datasets" title is present

When user click on the forgot password button

Then user on the forgot password page "/forgot-password"

And Captcha is present

And button "Confirm" is present

And Enter your email field is present

When user go to "/" page

Then user on the page "/"

When user login with username "user.username" and password "admin.password" by header dropdown

When user click on the "Login" button in login dropdown

Then message "Bad credentials" appears

When user login with username "user.username" and password "user.password" by header dropdown

When user click on the "Login" button in login dropdown

Then logged in icon is appeared on the header for standart user

When user open Login drop down

When user click on the "Logout" button

Then user is logouted

When user login with username "admin.username" and password "admin.password" by header dropdown

When user click on the "Login" button in login dropdown

Then logged in icon is appeared on the header for admin user

Given user go to "/" page

Then user on the page "/"

When get current quantity of opened tabs

When user open Login drop down

When user click on the Login with google button

Then check that new tab is opened

Then check that google page is rendered

Scenario Results (including rows of test data) Automated
 Passing 2 100%
 Pending 0
 Ignored 0
 Skipped 0
 Unsuccessful
 Failed 0
 Broken 0
 Compromised 0
Total 2
Execution Time Clock Time Fastest Test Slowest Test Average Execution Time
1m 12s 29m 51s 11s 1m 1s 36s

Automated Tests

Scenario Steps Start Time Duration Result
12.0015 Login process tests; 66 SUCCESS
12.0006 Login with google (check that new form is opened) 7 SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 2.0.52