Serenity BDD Report
Report generated 22-11-2025 23:04:47

Test Results: All Tests

8 tests

Overview

Test Outcomes

Test Performance

Functional Coverage Overview

Features

Key Statistics

Number of Scenarios 6
Total Number of Test Cases 8
Tests Started Nov 22, 2025 23:04:03
Tests Finished Nov 22, 2025 23:04:35
Total Duration 32s
Fastest Test 1s
Slowest Test 16s
Average Execution Time 4s
Total Execution Time 32s

Functional Coverage Details

Features

Feature Scenarios StepsText Test Cases % Pass Result Coverage
User Login Functionality 3 1: Successful Login with Valid Credentials ({email=user1@semanticsquare.com, password=test}) Given the user is on the login page User opens the ThrillioWeb home page When the user enters email as "user1@semanticsquare.com" and password as "test" User enters the required credentials And clicks the login button After entering credentials, user clicks login button Then the user should be redirected to the next page User should see Books resource page Then the user clicks logout button user logs out from books resource page And the user should be directed to the login page Wait until the home page renders 1: Unsuccessful Login with Invalid Credentials ({wrongEmail=user1@com.net, password=test1, errorMessage=User with email user@com.net does not exist in our system}) Given the user is on the login page User opens the ThrillioWeb home page When the user enters email as "user1@com.net" and password as "test1" User enters the required credentials And clicks the login button After entering credentials, user clicks login button Then the user should be able to see error message "User with email user@com.net does not exist in our system" on the error page If user lands on Error page When clicks Previous page button User clicks 'Previous page' button on Error page And the user should be directed to the login page Wait until the home page renders 2: Unsuccessful Login with Invalid Credentials ({wrongEmail=user2@com.net, password=test2, errorMessage=User with email user@com.net does not exist in our system}) Given the user is on the login page User opens the ThrillioWeb home page When the user enters email as "user2@com.net" and password as "test2" User enters the required credentials And clicks the login button After entering credentials, user clicks login button Then the user should be able to see error message "User with email user@com.net does not exist in our system" on the error page If user lands on Error page When clicks Previous page button User clicks 'Previous page' button on Error page And the user should be directed to the login page Wait until the home page renders 3: Unsuccessful Login with Invalid Credentials ({wrongEmail=user3@com.net, password=test3, errorMessage=User with email user@com.net does not exist in our system}) Given the user is on the login page User opens the ThrillioWeb home page When the user enters email as "user3@com.net" and password as "test3" User enters the required credentials And clicks the login button After entering credentials, user clicks login button Then the user should be able to see error message "User with email user@com.net does not exist in our system" on the error page If user lands on Error page When clicks Previous page button User clicks 'Previous page' button on Error page And the user should be directed to the login page Wait until the home page renders 1: Login with wrong password ({email=user1@semanticsquare.com, wrongPassword=xyz, errorMessage=Incorrect credentials. Please try again}) Given the user is on the login page User opens the ThrillioWeb home page When the user enters email as "user1@semanticsquare.com" and password as "xyz" User enters the required credentials And clicks the login button After entering credentials, user clicks login button Then the user should be able to see alert message "Incorrect credentials. Please try again" Alert message for wrong password 5 100%
User Register Functionality 3 1: Successful Register with Valid Credentials ({email=user61@semanticsquare.com, password=test}) Given user register button on the login page User opens the ThrillioWeb home page User click 'Register here' button on the Login page When the user enters email as "user61@semanticsquare.com" and password as "test" and firstname as "user" and lastname as "new" User enters the required information on Registration Form page And user clicks the register button After entering credentials, user clicks Register button Then the user should see a message "You have been successfully registered!" Success message is displayed on the screen 1: Unsuccessful Register with valid Credentials ({email=user61@semanticsquare.com, password=test, errorMessage=Email already exists.Please enter a valid email address}) Given user register button on the login page User opens the ThrillioWeb home page User click 'Register here' button on the Login page When the user enters email as "user61@semanticsquare.com" and password as "test" and firstname as "user" and lastname as "new" User enters the required information on Registration Form page And user clicks the register button After entering credentials, user clicks Register button Then user should be able to see error message "Email already exists.Please enter a valid email address" on the error page If user lands on Error page, get error message When user clicks Previous page button User clicks 'Previous page' button And the user should be redirected to the register page User returns to register page again 1: Unsuccessful Register with Invalid Email ({email=user@net, password=test, errorMessage=Invalid Email address. Please enter a valid format}) Given user register button on the login page User opens the ThrillioWeb home page User click 'Register here' button on the Login page When the user enters email as "user@net" and password as "test" and firstname as "user" and lastname as "new" User enters the required information on Registration Form page And user clicks the register button After entering credentials, user clicks Register button Then user should be able to see error message "Invalid Email address. Please enter a valid format" on the error page If user lands on Error page, get error message When user clicks Previous page button User clicks 'Previous page' button And the user should be redirected to the register page User returns to register page again 3 100%

Key Statistics

Number of Scenarios 6 Total Duration 32s
Total Number of Test Cases 8 Fastest Test 1s
Number of Manual Test Cases 0 Slowest Test 16s
Tests Started Nov 22, 2025 23:04:03 Average Execution Time 4s
Tests Finished Nov 22, 2025 23:04:35 Total Execution Time 32s

Automated Scenarios

feature Scenario Context Steps StepsText Started Total Duration Result
User Login Functionality Successful Login with Valid Credentials
1 passing test case
Chrome,linux 6 Given the user is on the login page When the user enters email as "<email>" and password as "<password>" And clicks the login button Then the user should be redirected to the next page Then the user clicks logout button And the user should be directed to the login page 23:04:03 16s 067ms SUCCESS
User Login Functionality Unsuccessful Login with Invalid Credentials
3 passing test cases
Chrome,linux 6 Given the user is on the login page When the user enters email as "<wrongEmail>" and password as "<password>" And clicks the login button Then the user should be able to see error message "<errorMessage>" on the error page When clicks Previous page button And the user should be directed to the login page 23:04:19 6s 758ms SUCCESS
User Login Functionality Login with wrong password
1 passing test case
Chrome,linux 4 Given the user is on the login page When the user enters email as "<email>" and password as "<wrongPassword>" And clicks the login button Then the user should be able to see alert message "<errorMessage>" 23:04:26 2s 168ms SUCCESS
User Register Functionality Successful Register with Valid Credentials
1 passing test case
Chrome,linux 4 Given user register button on the login page When the user enters email as "<email>" and password as "<password>" and firstname as "user" and lastname as "new" And user clicks the register button Then the user should see a message "You have been successfully registered!" 23:04:28 3s 169ms SUCCESS
User Register Functionality Unsuccessful Register with valid Credentials
1 passing test case
Chrome,linux 6 Given user register button on the login page When the user enters email as "<email>" and password as "<password>" and firstname as "user" and lastname as "new" And user clicks the register button Then user should be able to see error message "<errorMessage>" on the error page When user clicks Previous page button And the user should be redirected to the register page 23:04:31 2s 351ms SUCCESS
User Register Functionality Unsuccessful Register with Invalid Email
1 passing test case
Chrome,linux 6 Given user register button on the login page When the user enters email as "<email>" and password as "<password>" and firstname as "user" and lastname as "new" And user clicks the register button Then user should be able to see error message "<errorMessage>" on the error page When user clicks Previous page button And the user should be redirected to the register page 23:04:34 1s 771ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.2.30