Serenity BDD Report
Home > Requirements > Login > User login functionality
Report generated 22-11-2025 23:04

Feature: User login functionality

Scenarios

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

Examples:

emailpassword
user1@semanticsquare.comtest

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

Examples:

wrongEmailpassworderrorMessage
user1@com.nettest1User with email user@com.net does not exist in our system
user2@com.nettest2User with email user@com.net does not exist in our system
user3@com.nettest3User with email user@com.net does not exist in our system

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}"

Examples:

emailwrongPassworderrorMessage
user1@semanticsquare.comxyzIncorrect credentials. Please try again

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 3 Total Duration 25s
Total Number of Test Cases 5 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:28 Total Execution Time 24s

Automated Tests

feature Scenario Context Steps Started Total Duration Result
User Login Functionality Successful Login with Valid Credentials
1 passing test case
Chrome,linux 6 23:04:03 16s 067ms SUCCESS
User Login Functionality Unsuccessful Login with Invalid Credentials
3 passing test cases
Chrome,linux 6 23:04:19 6s 758ms SUCCESS
User Login Functionality Login with wrong password
1 passing test case
Chrome,linux 4 23:04:26 2s 168ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.2.30