Serenity/JS with Playwright Test
Home > Browser > Chromium 131.0.6778.33
Report generated 17-12-2024 17:37:11

Browser: Chromium 131.0.6778.33

7 tests |

Overview

Test Outcomes

Test Performance

Functional Coverage Overview

Features

Key Statistics

Number of Scenarios 7
Total Number of Test Cases 7
Tests Started Dec 17, 2024 17:36:36
Tests Finished
Total Duration 0ms
Fastest Test 365ms
Slowest Test 1s
Average Execution Time 641ms
Total Execution Time 4s

Functional Coverage Details

Features

Feature Scenarios StepsText Test Cases % Pass Result Coverage
API Testing 1 Alice sends a GET request to '/todos/1' Alice ensures that the status of the last response does equal 200 Alice ensures that 1 does equal 1 1 100%
Blended Testing 1 Apisitt ensures all GitHub systems are operational Apisitt sends a GET request to 'https://www.githubstatus.com/api/v2/status.json' Apisitt ensures that the status of the last response does equal 200 Apisitt ensures that GitHub Status does equal "All Systems Operational" Wendy starts with an empty todo list Wendy navigates to "/" Wendy ensures that website title does equal "Serenity/JS TodoApp" Wendy records an item called 'Feed the cat' Wendy enters "Feed the cat" into "What needs to be done?" input box Wendy presses key Enter in "What needs to be done?" input box Wendy waits until displayed items does contain "Feed the cat" Wendy ensures that displayed items does equal [ "Feed the cat" ] 1 100%
Multi-actor scenarios 1 Alice starts with a list containing 1 items Alice starts with an empty todo list Alice navigates to "/" Alice ensures that website title does equal "Serenity/JS TodoApp" Alice records an item called 'Feed the cat' Alice enters "Feed the cat" into "What needs to be done?" input box Alice presses key Enter in "What needs to be done?" input box Alice waits until displayed items does contain "Feed the cat" Bob starts with a list containing 1 items Bob starts with an empty todo list Bob navigates to "/" Bob ensures that website title does equal "Serenity/JS TodoApp" Bob records an item called 'Walk the dog' Bob enters "Walk the dog" into "What needs to be done?" input box Bob presses key Enter in "What needs to be done?" input box Bob waits until displayed items does contain "Walk the dog" Alice ensures that displayed items does equal [ "Feed the cat" ] Bob ensures that displayed items does equal [ "Walk the dog" ] 1 100%
Recording items 4 Alice starts with an empty todo list Alice navigates to "/" Alice ensures that website title does equal "Serenity/JS TodoApp" Alice records an item called 'buy some cheese' Alice enters "buy some cheese" into "What needs to be done?" input box Alice presses key Enter in "What needs to be done?" input box Alice waits until displayed items does contain "buy some cheese" Alice ensures that displayed items does equal [ "buy some cheese" ] Alice records an item called 'feed the cat' Alice enters "feed the cat" into "What needs to be done?" input box Alice presses key Enter in "What needs to be done?" input box Alice waits until displayed items does contain "feed the cat" Alice ensures that displayed items does equal [ "buy some cheese", "feed the cat" ] Alice ensures that persisted items does equal displayed items Alice starts with an empty todo list Alice navigates to "/" Alice ensures that website title does equal "Serenity/JS TodoApp" Alice records an item called 'buy some cheese' Alice enters "buy some cheese" into "What needs to be done?" input box Alice presses key Enter in "What needs to be done?" input box Alice waits until displayed items does contain "buy some cheese" Alice ensures that the value of "What needs to be done?" input box does equal "" Alice ensures that "buy some cheese" does equal "buy some cheese" Alice ensures that false does equal false Alice starts with a list containing 3 items Alice starts with an empty todo list Alice navigates to "/" Alice ensures that website title does equal "Serenity/JS TodoApp" Alice records an item called 'buy some cheese' Alice enters "buy some cheese" into "What needs to be done?" input box Alice presses key Enter in "What needs to be done?" input box Alice waits until displayed items does contain "buy some cheese" Alice records an item called 'feed the cat' Alice enters "feed the cat" into "What needs to be done?" input box Alice presses key Enter in "What needs to be done?" input box Alice waits until displayed items does contain "feed the cat" Alice records an item called 'book a doctors appointment' Alice enters "book a doctors appointment" into "What needs to be done?" input box Alice presses key Enter in "What needs to be done?" input box Alice waits until displayed items does contain "book a doctors appointment" Alice ensures that number of items left does equal 3 Alice ensures that 3 does equal 3 Alice starts with an empty todo list Alice navigates to "/" Alice ensures that website title does equal "Serenity/JS TodoApp" Alice ensures that main section does not become present Alice ensures that footer section does not become present Alice records an item called 'buy some cheese' Alice enters "buy some cheese" into "What needs to be done?" input box Alice presses key Enter in "What needs to be done?" input box Alice waits until displayed items does contain "buy some cheese" Alice ensures that main section does become visible Alice ensures that footer section does become visible 4 100%

Key Statistics

Number of Scenarios 7 Total Duration 0ms
Total Number of Test Cases 7 Fastest Test 365ms
Number of Manual Test Cases 0 Slowest Test 1s
Tests Started Dec 17, 2024 17:36:36 Average Execution Time 641ms
Tests Finished Total Execution Time 4s

Automated Scenarios

feature Scenario Context Steps StepsText Started Total Duration Result
API Testing JSON Placeholder /todos should retrieve a todo item by id linux,Chrome 3 Alice sends a GET request to '/todos/1' Alice ensures that the status of the last response does equal 200 Alice ensures that 1 does equal 1 17:36:36 365ms SUCCESS
Blended Testing GitHub Pages should check the state of the system before interacting with the UI linux,Chrome 4 Apisitt ensures all GitHub systems are operational Wendy starts with an empty todo list Wendy records an item called 'Feed the cat' Wendy ensures that displayed items does equal [ "Feed the cat" ] 17:36:36 1s 019ms SUCCESS
Multi-actor scenarios Todo List App supports multiple actors using separate browsers linux,Chrome 4 Alice starts with a list containing 1 items Bob starts with a list containing 1 items Alice ensures that displayed items does equal [ "Feed the cat" ] Bob ensures that displayed items does equal [ "Walk the dog" ] 17:36:37 779ms SUCCESS
Recording items Todo List App should allow me to add todo items linux,Chrome 6 Alice starts with an empty todo list Alice records an item called 'buy some cheese' Alice ensures that displayed items does equal [ "buy some cheese" ] Alice records an item called 'feed the cat' Alice ensures that displayed items does equal [ "buy some cheese", "feed the cat" ] Alice ensures that persisted items does equal displayed items 17:36:38 515ms SUCCESS
Recording items Todo List App should clear text input field when an item is added linux,Chrome 5 Alice starts with an empty todo list Alice records an item called 'buy some cheese' Alice ensures that the value of "What needs to be done?" input box does equal "" Alice ensures that "buy some cheese" does equal "buy some cheese" Alice ensures that false does equal false 17:36:39 380ms SUCCESS
Recording items Todo List App should reflect the number of items left in the counter linux,Chrome 3 Alice starts with a list containing 3 items Alice ensures that number of items left does equal 3 Alice ensures that 3 does equal 3 17:36:39 543ms SUCCESS
Recording items Todo List App should show #main and #footer sections only when list contains items linux,Chrome 6 Alice starts with an empty todo list Alice ensures that main section does not become present Alice ensures that footer section does not become present Alice records an item called 'buy some cheese' Alice ensures that main section does become visible Alice ensures that footer section does become visible 17:36:40 892ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.20