Serenity/JS with Playwright Test
Home > Browser > Chromium 130.0.6723.31
Report generated 11-11-2024 22:35:23

Browser: Chromium 130.0.6723.31

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 Nov 11, 2024 22:34:49
Tests Finished
Total Duration 0ms
Fastest Test 512ms
Slowest Test 971ms
Average Execution Time 728ms
Total Execution Time 5s

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 512ms
Number of Manual Test Cases 0 Slowest Test 971ms
Tests Started Nov 11, 2024 22:34:49 Average Execution Time 728ms
Tests Finished Total Execution Time 5s

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 22:34:49 520ms 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" ] 22:34:49 971ms 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" ] 22:34:50 891ms 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 22:34:51 585ms 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 22:34:52 512ms 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 22:34:52 653ms 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 22:34:53 966ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.20