Serenity BDD TodoMVC
Home > Tag > Page Objects
Report generated 23-05-2024 08:44:13

Tag: Page Objects

16 tests |

Overview

Test Outcomes

Test Performance

Functional Coverage Overview

Features

Key Statistics

Number of Scenarios 16
Total Number of Test Cases 16
Tests Started May 23, 2024 08:43:56
Tests Finished May 23, 2024 08:44:10
Total Duration 13s
Fastest Test 3s
Slowest Test 4s
Average Execution Time 3s
Total Execution Time 57s

Functional Coverage Details

Features

Feature Scenarios StepsText Test Cases % Pass Result Coverage
Learn about the application 2 Starts with an empty todo list Starts with a todo list containing: {} Adds todo items called: {} Should see that the placeholder text says: What needs to be done? Starts with an empty todo list Starts with a todo list containing: {} Adds todo items called: {} Should see the correct website title Should see the correct application heading 2 100%
Complete a todo 1 Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Completes: Walk the dog Should see that that following item is marked as complete: Walk the dog Should see that the number of items left is: 1 1 100%
Toggle all todos 4 Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Toggles all items Should see that that following items are marked as complete: {Walk the dog,Put out the garbage} Should see that that following item is marked as complete: Walk the dog Should see that that following item is marked as complete: Put out the garbage Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Toggles all items Toggles all items Should see that that following items are marked as active: {Walk the dog,Put out the garbage} Should see that that following item is marked as active: Walk the dog Should see that that following item is marked as active: Put out the garbage Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Toggles all items Toggles all items Should see that the number of items left is: 2 Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Toggles all items Should see that the number of items left is: 0 4 100%
Clear completed todos 2 Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Should see that the clear completed items option is not visible Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Completes: Walk the dog Clears completed items Should see that displayed items contain: {Put out the garbage} 2 100%
Deleting todos 2 Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Deletes: Walk the dog Should see that the number of items left is: 1 Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Deletes: Walk the dog Should see that displayed items contain: {Put out the garbage} 2 100%
Filtering todos 3 Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Completes: Walk the dog Filters items to show: Active Should see that displayed items contain: {Put out the garbage} Should see that displayed items do not contain: {Walk the dog} Should see that the currently selected filter is: Active Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Completes: Walk the dog Filters items to show: Completed Should see that displayed items contain: {Walk the dog} Should see that displayed items do not contain: {Put out the garbage} Should see that the currently selected filter is: Completed Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Completes: Walk the dog Filters items to show: Active Filters items to show: All Should see that displayed items contain: {Walk the dog,Put out the garbage} Should see that the currently selected filter is: All 3 100%
Add new todos 2 Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds todo items called: {Walk the dog,Put out the garbage} Adds a todo item called: Walk the dog Adds a todo item called: Put out the garbage Adds a todo item called: Buy some milk Should see that displayed items contain: {Walk the dog,Put out the garbage,Buy some milk} Starts with an empty todo list Starts with a todo list containing: {} Adds todo items called: {} Adds a todo item called: Buy some milk Should see that displayed items contain: {Buy some milk} 2 100%

Key Statistics

Number of Scenarios 16 Total Duration 13s
Total Number of Test Cases 16 Fastest Test 3s
Number of Manual Test Cases 0 Slowest Test 4s
Tests Started May 23, 2024 08:43:56 Average Execution Time 3s
Tests Finished May 23, 2024 08:44:10 Total Execution Time 57s

Automated Scenarios

feature Scenario Context Steps StepsText Started Total Duration Result
LearnAboutTheApplication Should see how to begin with page objects Chrome,linux 2 Starts with an empty todo list Should see that the placeholder text says: What needs to be done? 08:43:56 4s 186ms SUCCESS
LearnAboutTheApplication Should be able to identify the application with page objects Chrome,linux 3 Starts with an empty todo list Should see the correct website title Should see the correct application heading 08:44:00 4s 242ms SUCCESS
CompleteATodo Should be able to complete a todo with page objects Chrome,linux 4 Starts with a todo list containing: {Walk the dog,Put out the garbage} Completes: Walk the dog Should see that that following item is marked as complete: Walk the dog Should see that the number of items left is: 1 08:44:03 3s 312ms SUCCESS
ToggleAllTodos Should be able to quickly complete all todos with page objects Chrome,linux 3 Starts with a todo list containing: {Walk the dog,Put out the garbage} Toggles all items Should see that that following items are marked as complete: {Walk the dog,Put out the garbage} 08:44:02 3s 421ms SUCCESS
ToggleAllTodos Should be able to toggle status of all todos with page objects Chrome,linux 4 Starts with a todo list containing: {Walk the dog,Put out the garbage} Toggles all items Toggles all items Should see that that following items are marked as active: {Walk the dog,Put out the garbage} 08:44:03 3s 041ms SUCCESS
ToggleAllTodos Should see how many items todo when all are toggled to incomplete with page objects Chrome,linux 4 Starts with a todo list containing: {Walk the dog,Put out the garbage} Toggles all items Toggles all items Should see that the number of items left is: 2 08:44:06 3s 211ms SUCCESS
ToggleAllTodos Should see that there are zero items todo when all are toggled complete with page objects Chrome,linux 3 Starts with a todo list containing: {Walk the dog,Put out the garbage} Toggles all items Should see that the number of items left is: 0 08:44:06 3s 383ms SUCCESS
ClearCompletedTodos Should not be able to clear completed todos if none are complete with page objects Chrome,linux 2 Starts with a todo list containing: {Walk the dog,Put out the garbage} Should see that the clear completed items option is not visible 08:43:56 4s 641ms SUCCESS
ClearCompletedTodos Should be able to clear completed todos with page objects Chrome,linux 4 Starts with a todo list containing: {Walk the dog,Put out the garbage} Completes: Walk the dog Clears completed items Should see that displayed items contain: {Put out the garbage} 08:44:01 3s 978ms SUCCESS
DeletingTodos Should see deleting a todo decreases the remaining items count with page objects Chrome,linux 3 Starts with a todo list containing: {Walk the dog,Put out the garbage} Deletes: Walk the dog Should see that the number of items left is: 1 08:43:56 3s 052ms SUCCESS
DeletingTodos Should be able to delete todos with page objects Chrome,linux 3 Starts with a todo list containing: {Walk the dog,Put out the garbage} Deletes: Walk the dog Should see that displayed items contain: {Put out the garbage} 08:43:59 3s 121ms SUCCESS
FilteringTodos Should be able to view only incomplete todos with page objects Chrome,linux 6 Starts with a todo list containing: {Walk the dog,Put out the garbage} Completes: Walk the dog Filters items to show: Active Should see that displayed items contain: {Put out the garbage} Should see that displayed items do not contain: {Walk the dog} Should see that the currently selected filter is: Active 08:44:01 3s 397ms SUCCESS
FilteringTodos Should be able to view only completed todos with page objects Chrome,linux 6 Starts with a todo list containing: {Walk the dog,Put out the garbage} Completes: Walk the dog Filters items to show: Completed Should see that displayed items contain: {Walk the dog} Should see that displayed items do not contain: {Put out the garbage} Should see that the currently selected filter is: Completed 08:44:05 3s 941ms SUCCESS
FilteringTodos Should be able to view both complete and incomplete todos with page objects Chrome,linux 6 Starts with a todo list containing: {Walk the dog,Put out the garbage} Completes: Walk the dog Filters items to show: Active Filters items to show: All Should see that displayed items contain: {Walk the dog,Put out the garbage} Should see that the currently selected filter is: All 08:44:05 4s 032ms SUCCESS
AddNewTodos Should be able to add additional todo items with page objects Chrome,linux 3 Starts with a todo list containing: {Walk the dog,Put out the garbage} Adds a todo item called: Buy some milk Should see that displayed items contain: {Walk the dog,Put out the garbage,Buy some milk} 08:44:03 3s 071ms SUCCESS
AddNewTodos Test to resolve issue #616172 Chrome,linux 3 Starts with an empty todo list Adds a todo item called: Buy some milk Should see that displayed items contain: {Buy some milk} 08:44:06 3s 775ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.12