Serenity BDD Report
Report generated 21-01-2025 22:21:08

Test Results: All Tests

2 tests

Overview

Test Outcomes

Test Performance

Functional Coverage Overview

Features

Key Statistics

Number of Scenarios 1
Total Number of Test Cases 2
Tests Started Jan 21, 2025 22:21:04
Tests Finished Jan 21, 2025 22:21:05
Total Duration 1s
Fastest Test 759ms
Slowest Test 894ms
Average Execution Time 826ms
Total Execution Time 1s

Functional Coverage Details

Features

Feature Scenarios StepsText Test Cases % Pass Result Coverage
Form-based authentication 1 Using username and password to log in #1 - username: tomsmith, password: SuperSecretPassword!, outcome: succeeded Given Alice starts with the "Form Authentication" example Alice navigates to "/" Alice picks example called Form Authentication Alice clicks on the first of available examples where Text does equal "Form Authentication" When she logs in using "tomsmith" and "SuperSecretPassword!" Alice logs in as tomsmith Alice enters "tomsmith" into username field Alice enters "SuperSecretPassword!" into password field Alice clicks on login button Then she should see that authentication has succeeded Alice verifies that authentication has succeeded Alice verifies that flash alert is present Alice ensures that flash message does become visible Alice ensures that the text of flash message does include "You logged into a secure area!" Using username and password to log in #2 - username: foobar, password: barfoo, outcome: failed Given Alice starts with the "Form Authentication" example Alice navigates to "/" Alice picks example called Form Authentication Alice clicks on the first of available examples where Text does equal "Form Authentication" When she logs in using "foobar" and "barfoo" Alice logs in as foobar Alice enters "foobar" into username field Alice enters "barfoo" into password field Alice clicks on login button Then she should see that authentication has failed Alice verifies that authentication has failed Alice verifies that flash alert is present Alice ensures that flash message does become visible Alice ensures that the text of flash message does include "Your username is invalid!" 2 100%

Key Statistics

Number of Scenarios 1 Total Duration 1s
Total Number of Test Cases 2 Fastest Test 759ms
Number of Manual Test Cases 0 Slowest Test 894ms
Tests Started Jan 21, 2025 22:21:04 Average Execution Time 826ms
Tests Finished Jan 21, 2025 22:21:05 Total Execution Time 1s

Automated Scenarios

feature Scenario Context Steps StepsText Started Total Duration Result
Form-based authentication Using username and password to log in
2 passing test cases
2 When she logs in using "<username>" and "<password>" Then she should see that authentication has <outcome> 22:21:04 1s 657ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.2.12