Serenity BDD TodoMVC
Report generated 23-05-2024 08:44:13

Test Results: All Tests

51 tests

Overview

Test Outcomes

Test Performance

Functional Coverage Overview

Features

Key Statistics

Number of Scenarios 45
Total Number of Test Cases 51
Tests Started May 23, 2024 08:43:43
Tests Finished May 23, 2024 08:44:14
Total Duration 31s
Fastest Test 2s
Slowest Test 10s
Average Execution Time 4s
Total Execution Time 3m 25s

Functional Coverage Details

Features

Feature Scenarios StepsText Test Cases % Pass Result Coverage
Cucumber > maintain my todo list > Completing todos 5 Given Jane has a todo list containing Buy some milk, Walk the dog Jane starts with a todo list containing Buy some milk, Walk the dog Jane opens the home.page page Jane adds the todo items called: [Buy some milk, Walk the dog] Jane adds a todo item called: Buy some milk Jane enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Jane adds a todo item called: Walk the dog Jane enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field When she completes the task called "Walk the dog" she completes the item called Walk the dog she clicks on the complete item tick box Then her todo list should contain Buy some milk, Walk the dog Then the items displayed should be ([Buy some milk, Walk the dog]) But the "Walk the dog" task should be shown as Completed she should see that is equal to: Given Sophie has a todo list containing Buy some milk, Walk the dog Sophie starts with a todo list containing Buy some milk, Walk the dog Sophie opens the home.page page Sophie adds the todo items called: [Buy some milk, Walk the dog] Sophie adds a todo item called: Buy some milk Sophie enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Sophie adds a todo item called: Walk the dog Sophie enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field Then her remaining todo count should be 2 her should see the number of items left that is equal to: <2> When she completes the task called "Walk the dog" she completes the item called Walk the dog she clicks on the complete item tick box Then her remaining todo count should be 1 her should see the number of items left that is equal to: <1> Given James has a todo list containing Buy some milk, Walk the dog James starts with a todo list containing Buy some milk, Walk the dog James opens the home.page page James adds the todo items called: [Buy some milk, Walk the dog] James adds a todo item called: Buy some milk James enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field When he completes the task called "Walk the dog" he completes the item called Walk the dog he clicks on the complete item tick box And he filters her list to show only Completed tasks he filters items by Completed he clicks on filter by Completed Then her todo list should contain Walk the dog Then the items displayed should be ([Walk the dog]) Given Jill has a todo list containing Buy some milk, Walk the dog Jill starts with a todo list containing Buy some milk, Walk the dog Jill opens the home.page page Jill adds the todo items called: [Buy some milk, Walk the dog] Jill adds a todo item called: Buy some milk Jill enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Jill adds a todo item called: Walk the dog Jill enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field When she filters her list to show only Completed tasks she filters items by Completed she clicks on filter by Completed Then her todo list should be empty Then the items displayed should be ([]) 1: Completed tasks should be shown as Completed ({Initial Tasks=Buy some milk, Walk the dog, Task=Walk the dog, Final Status=Completed}) Given Sarah has a todo list containing Buy some milk, Walk the dog Sarah starts with a todo list containing Buy some milk, Walk the dog Sarah opens the home.page page Sarah adds the todo items called: [Buy some milk, Walk the dog] Sarah adds a todo item called: Buy some milk Sarah enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Sarah adds a todo item called: Walk the dog Sarah enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field When she completes the task called "Walk the dog" she completes the item called Walk the dog she clicks on the complete item tick box Then the "Walk the dog" task should be shown as Completed she should see that is equal to: 2: Completed tasks should be shown as Completed ({Initial Tasks=Walk the dog, Task=Walk the dog, Final Status=Completed}) Given Sarah has a todo list containing Walk the dog Sarah starts with a todo list containing Walk the dog Sarah opens the home.page page Sarah adds the todo items called: [Walk the dog] Sarah adds a todo item called: Walk the dog Sarah enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field When she completes the task called "Walk the dog" she completes the item called Walk the dog she clicks on the complete item tick box Then the "Walk the dog" task should be shown as Completed she should see that is equal to: 3: Completed tasks should be shown as Completed ({Initial Tasks=Buy some milk, Walk the dog, Task=Buy some milk, Final Status=Active}) Given Sarah has a todo list containing Buy some milk, Walk the dog Sarah starts with a todo list containing Buy some milk, Walk the dog Sarah opens the home.page page Sarah adds the todo items called: [Buy some milk, Walk the dog] Sarah adds a todo item called: Buy some milk Sarah enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Sarah adds a todo item called: Walk the dog Sarah enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field When she completes the task called "Walk the dog" she completes the item called Walk the dog she clicks on the complete item tick box Then the "Buy some milk" task should be shown as Active she should see that is equal to: 7 100%
Cucumber > maintain my todo list > Deleting todos 2 Given Jane has a todo list containing Buy some milk, Walk the dog Jane starts with a todo list containing Buy some milk, Walk the dog Jane opens the home.page page Jane adds the todo items called: [Buy some milk, Walk the dog] Jane adds a todo item called: Buy some milk Jane enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Jane adds a todo item called: Walk the dog Jane enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field When she deletes the task called 'Walk the dog' she deletes the item Walk the dog she clicks on the delete item button And she deletes the task called 'Buy some milk' she deletes the item Buy some milk she clicks on the delete item button Then her todo list should be empty Then the items displayed should be ([]) Given Jane has a todo list containing Buy some milk, Walk the dog Jane starts with a todo list containing Buy some milk, Walk the dog Jane opens the home.page page Jane adds the todo items called: [Buy some milk, Walk the dog] Jane adds a todo item called: Buy some milk Jane enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Jane adds a todo item called: Walk the dog Jane enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field When she deletes the task called 'Walk the dog' she deletes the item Walk the dog she clicks on the delete item button Then her todo list should contain Buy some milk Then the items displayed should be ([Buy some milk]) 2 100%
Cucumber > maintain my todo list > Filtering todos 1 1: Viewing the items by status filter ({tasks=Buy some milk, Walk the dog, completed=Walk the dog, filter=Active, expected=Buy some milk}) Given Jane has a todo list containing Buy some milk, Walk the dog Jane starts with a todo list containing Buy some milk, Walk the dog Jane opens the home.page page Jane adds the todo items called: [Buy some milk, Walk the dog] Jane adds a todo item called: Buy some milk Jane enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Jane adds a todo item called: Walk the dog Jane enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field And she completes the task called "Walk the dog" she completes the item called Walk the dog she clicks on the complete item tick box When she filters her list to show only Active tasks she filters items by Active she clicks on filter by Active Then her todo list should contain Buy some milk Then the items displayed should be ([Buy some milk]) 2: Viewing the items by status filter ({tasks=Buy some milk, Walk the dog, completed=Walk the dog, filter=Completed, expected=Walk the dog}) Given Jane has a todo list containing Buy some milk, Walk the dog Jane starts with a todo list containing Buy some milk, Walk the dog Jane opens the home.page page Jane adds the todo items called: [Buy some milk, Walk the dog] Jane adds a todo item called: Buy some milk Jane enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Jane adds a todo item called: Walk the dog Jane enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field And she completes the task called "Walk the dog" she completes the item called Walk the dog she clicks on the complete item tick box When she filters her list to show only Completed tasks she filters items by Completed she clicks on filter by Completed Then her todo list should contain Walk the dog Then the items displayed should be ([Walk the dog]) 3: Viewing the items by status filter ({tasks=Buy some milk, Walk the dog, completed=Walk the dog, filter=All, expected=Buy some milk, Walk the dog}) Given Jane has a todo list containing Buy some milk, Walk the dog Jane starts with a todo list containing Buy some milk, Walk the dog Jane opens the home.page page Jane adds the todo items called: [Buy some milk, Walk the dog] Jane adds a todo item called: Buy some milk Jane enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Jane adds a todo item called: Walk the dog Jane enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field And she completes the task called "Walk the dog" she completes the item called Walk the dog she clicks on the complete item tick box When she filters her list to show only All tasks she filters items by All she clicks on filter by All Then her todo list should contain Buy some milk, Walk the dog Then the items displayed should be ([Buy some milk, Walk the dog]) 3 100%
Cucumber > record todos > Add new todos 3 Given that James has an empty todo list James starts with an empty todo list James opens the home.page page When he adds 'Buy some milk' to his list he adds a todo item called: Buy some milk he enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Then 'Buy some milk' should be recorded in his list Then the items displayed should be a collection containing 'Buy some milk' Given Jane has a todo list containing Buy some milk, Walk the dog Jane starts with a todo list containing Buy some milk, Walk the dog Jane opens the home.page page Jane adds the todo items called: [Buy some milk, Walk the dog] Jane adds a todo item called: Buy some milk Jane enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Jane adds a todo item called: Walk the dog Jane enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field When she adds 'Buy some cereal' to her list she adds a todo item called: Buy some cereal she enters 'Buy some cereal' then hits [RETURN] into 'What needs to be done?' field Then her todo list should contain Buy some milk, Walk the dog, Buy some cereal Then the items displayed should be ([Buy some milk, Walk the dog, Buy some cereal]) Given James has a todo list containing Buy some milk, Walk the dog James starts with a todo list containing Buy some milk, Walk the dog James opens the home.page page James adds the todo items called: [Buy some milk, Walk the dog] James adds a todo item called: Buy some milk James enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field And Jill has a todo list containing Buy some milk, Buy some cheese Jill starts with a todo list containing Buy some milk, Buy some cheese Jill opens the home.page page Jill adds the todo items called: [Buy some milk, Buy some cheese] Jill adds a todo item called: Buy some milk Jill enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Jill adds a todo item called: Buy some cheese Jill enters 'Buy some cheese' then hits [RETURN] into 'What needs to be done?' field When she adds 'Buy some cereal' to her list she adds a todo item called: Buy some cereal she enters 'Buy some cereal' then hits [RETURN] into 'What needs to be done?' field Then Jill's todo list should contain Buy some milk, Buy some cheese, Buy some cereal Jill should see the items displayed that contains: <[Buy some milk, Buy some cheese, Buy some cereal]> And James's todo list should contain Buy some milk, Walk the dog James should see the items displayed that contains: <[Buy some milk, Walk the dog]> 3 100%
Pageobjects > accessing the application > 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%
Pageobjects > completing todos > 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%
Pageobjects > completing todos > 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%
Pageobjects > maintain my todo list > 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%
Pageobjects > maintain my todo list > 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%
Pageobjects > maintain my todo list > 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%
Pageobjects > record todos > 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%
Screenplay > accessing the application > Learn about the application 2 James starts with an empty todo list James opens the home.page page Then the placeholder text should be 'What needs to be done?' James starts with an empty todo list James opens the home.page page Then application should be to display 'title' as 'TodoMVC: Angular' Then application should be to display 'heading' as 'Todos' 2 100%
Screenplay > completing todos > Complete a todo 6 James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box Then the number of items left should be (1) James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box James should see that is equal to: James should see the number of items left that is equal to: <1> James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James toggles the status of all items Execute JavaScript arguments[0].click(); James should see that is equal to: James should see that is equal to: James should see the number of items left that is equal to: <0> James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box Then The item status for 'Walk the dog' should be (Completed) Then the items$$ lambda$2265/0x00007f275075b5c0 should be (1) James should see a value that is equal to: <"b"> 6 100%
Screenplay > maintain my todo list > Clear completed todo items 2 James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box James clears all the completed items James clicks on Clear completed link Then the items displayed should be iterable containing ['Put out the garbage'] James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field Then the 'Clear Completed' option should be (Unavailable) 2 100%
Screenplay > maintain my todo list > Deleting todo items 2 James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James deletes the item Walk the dog James clicks on the delete item button Then the number of items left should be (1) James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James deletes the item Walk the dog James clicks on the delete item button Then the items displayed should be iterable containing ['Put out the garbage'] 2 100%
Screenplay > maintain my todo list > Filtering todo items 3 James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box James filters items by Completed James clicks on filter by Completed Then the items displayed should be iterable containing ['Walk the dog'] Then the items displayed should be not iterable containing ['Put out the garbage'] Then the current filter should be (Completed) James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box James filters items by Active James clicks on filter by Active Then the items displayed should be iterable containing ['Put out the garbage'] Then the items displayed should be not iterable containing ['Walk the dog'] Then the current filter should be (Active) Should be able to view various todo combinations[1] Walk the dog, Put out the garbage, All, [Walk the dog, Put out the garbage] James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box James filters items by All James clicks on filter by All Then the items displayed should be iterable containing ['Walk the dog', 'Put out the garbage'] Then the current filter should be (All) Should be able to view various todo combinations[2] Walk the dog, Put out the garbage, Active, [Put out the garbage] James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box James filters items by Active James clicks on filter by Active Then the items displayed should be iterable containing ['Put out the garbage'] Then the current filter should be (Active) Should be able to view various todo combinations[3] Walk the dog, Put out the garbage, Completed, [Walk the dog] James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box James filters items by Completed James clicks on filter by Completed Then the items displayed should be iterable containing ['Walk the dog'] Then the current filter should be (Completed) 5 100%
Screenplay > maintain my todo list > Handling todos belonging to several users 1 James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field Jane starts with a todo list containing Walk the dog, Feed the cat Jane opens the home.page page Jane adds the todo items called: [Walk the dog, Feed the cat] Jane adds a todo item called: Walk the dog Jane enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field Jane adds a todo item called: Feed the cat Jane enters 'Feed the cat' then hits [RETURN] into 'What needs to be done?' field James completes the item called Walk the dog James clicks on the complete item tick box James clears all the completed items James clicks on Clear completed link Then the items displayed should be iterable containing ['Walk the dog', 'Feed the cat'] 1 100%
Screenplay > record todos > Add new todos 2 James starts with a todo list containing Walk the dog, Put out the garbage James opens the home.page page James adds the todo items called: [Walk the dog, Put out the garbage] James adds a todo item called: Walk the dog James enters 'Walk the dog' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Put out the garbage James enters 'Put out the garbage' then hits [RETURN] into 'What needs to be done?' field James adds a todo item called: Buy some milk James enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Then the items displayed should be (a collection containing 'Walk the dog' and a collection containing 'Put out the garbage' and a collection containing 'Buy some milk') James starts with an empty todo list James opens the home.page page James adds a todo item called: Buy some milk James enters 'Buy some milk' then hits [RETURN] into 'What needs to be done?' field Then the items displayed should be a collection containing 'Buy some milk' 2 100%

Key Statistics

Number of Scenarios 45 Total Duration 31s
Total Number of Test Cases 51 Fastest Test 2s
Number of Manual Test Cases 0 Slowest Test 10s
Tests Started May 23, 2024 08:43:43 Average Execution Time 4s
Tests Finished May 23, 2024 08:44:14 Total Execution Time 3m 25s

Automated Scenarios

feature Scenario Context Steps StepsText Started Total Duration Result
Completing todos When a task is completed it remains in the main list Chrome,linux 4 Given Jane has a todo list containing Buy some milk, Walk the dog When she completes the task called "Walk the dog" Then her todo list should contain Buy some milk, Walk the dog But the "Walk the dog" task should be shown as Completed 08:43:43 9s 991ms SUCCESS
Completing todos The todo count should keep track of how many todos remain Chrome,linux 4 Given Sophie has a todo list containing Buy some milk, Walk the dog Then her remaining todo count should be 2 When she completes the task called "Walk the dog" Then her remaining todo count should be 1 08:43:43 7s 401ms SUCCESS
Completing todos Completed tasks should appear in the Completed list Chrome,linux 4 Given James has a todo list containing Buy some milk, Walk the dog When he completes the task called "Walk the dog" And he filters her list to show only Completed tasks Then her todo list should contain Walk the dog 08:43:43 9s 501ms SUCCESS
Completing todos The list of completed items should be empty if nothing has been completed Chrome,linux 3 Given Jill has a todo list containing Buy some milk, Walk the dog When she filters her list to show only Completed tasks Then her todo list should be empty 08:43:51 4s 410ms SUCCESS
Completing todos Completed tasks should be shown as Completed
3 passing test cases
Chrome,linux 3 Given Sarah has a todo list containing When she completes the task called "Walk the dog" Then the "" task should be shown as 08:43:52 3s 010ms SUCCESS
Deleting todos Delete all the items Chrome,linux 4 Given Jane has a todo list containing Buy some milk, Walk the dog When she deletes the task called 'Walk the dog' And she deletes the task called 'Buy some milk' Then her todo list should be empty 08:43:43 10s 704ms SUCCESS
Deleting todos Delete an active item Chrome,linux 3 Given Jane has a todo list containing Buy some milk, Walk the dog When she deletes the task called 'Walk the dog' Then her todo list should contain Buy some milk 08:43:50 3s 980ms SUCCESS
Filtering todos Viewing the items by status filter
3 passing test cases
Chrome,linux 4 Given Jane has a todo list containing And she completes the task called "" When she filters her list to show only tasks Then her todo list should contain 08:43:43 9s 189ms SUCCESS
Add new todos Adding an item to an empty list Chrome,linux 3 Given that James has an empty todo list When he adds 'Buy some milk' to his list Then 'Buy some milk' should be recorded in his list 08:43:43 6s 605ms SUCCESS
Add new todos Adding an item to a list with other items Chrome,linux 3 Given Jane has a todo list containing Buy some milk, Walk the dog When she adds 'Buy some cereal' to her list Then her todo list should contain Buy some milk, Walk the dog, Buy some cereal 08:43:43 8s 588ms SUCCESS
Add new todos Adding items to several peoples lists Chrome,linux 5 Given James has a todo list containing Buy some milk, Walk the dog And Jill has a todo list containing Buy some milk, Buy some cheese When she adds 'Buy some cereal' to her list Then Jill's todo list should contain Buy some milk, Buy some cheese, Buy some cereal And James's todo list should contain Buy some milk, Walk the dog 08:43:43 10s 388ms SUCCESS
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
LearnAboutTheApplication Should see how to begin Chrome,linux 2 James starts with an empty todo list Then the placeholder text should be 'What needs to be done?' 08:43:56 2s 405ms SUCCESS
LearnAboutTheApplication Should be able to identify the application Chrome,linux 3 James starts with an empty todo list Then application should be to display 'title' as 'TodoMVC: Angular' Then application should be to display 'heading' as 'Todos' 08:43:58 2s 233ms SUCCESS
CompleteATodo Should see the number of todos decrease when an item is completed Chrome,linux 3 James starts with a todo list containing Walk the dog, Put out the garbage James completes the item called Walk the dog Then the number of items left should be (1) 08:43:56 3s 808ms SUCCESS
CompleteATodo Should be able to complete a todo using page objects Chrome,linux 0 08:44:00 3s 019ms SUCCESS
CompleteATodo Should be able to complete a todo Chrome,linux 4 James starts with a todo list containing Walk the dog, Put out the garbage James completes the item called Walk the dog James should see that is equal to: James should see the number of items left that is equal to: <1> 08:44:03 3s 621ms SUCCESS
CompleteATodo Should be able to complete a todo using imperative code Chrome,linux 0 08:44:06 3s 157ms SUCCESS
CompleteATodo Should be able to toggle the status of all todos Chrome,linux 5 James starts with a todo list containing Walk the dog, Put out the garbage James toggles the status of all items James should see that is equal to: James should see that is equal to: James should see the number of items left that is equal to: <0> 08:44:06 3s 243ms SUCCESS
CompleteATodo Should be able to complete a todo using a bdd style Chrome,linux 4 James starts with a todo list containing Walk the dog, Put out the garbage James completes the item called Walk the dog Then The item status for 'Walk the dog' should be (Completed) Then the items$$ lambda$2265/0x00007f275075b5c0 should be (1) 08:44:07 3s 156ms SUCCESS
ClearCompletedTodoItems Should be able to clear completed todos Chrome,linux 4 James starts with a todo list containing Walk the dog, Put out the garbage James completes the item called Walk the dog James clears all the completed items Then the items displayed should be iterable containing ['Put out the garbage'] 08:43:56 3s 911ms SUCCESS
ClearCompletedTodoItems Should not be able to clear completed todos if none are complete Chrome,linux 2 James starts with a todo list containing Walk the dog, Put out the garbage Then the 'Clear Completed' option should be (Unavailable) 08:44:00 5s 695ms SUCCESS
DeletingTodoItems Should see deleting a todo decreases the remaining items count Chrome,linux 3 James starts with a todo list containing Walk the dog, Put out the garbage James deletes the item Walk the dog Then the number of items left should be (1) 08:43:56 3s 015ms SUCCESS
DeletingTodoItems Should be able to delete todos Chrome,linux 3 James starts with a todo list containing Walk the dog, Put out the garbage James deletes the item Walk the dog Then the items displayed should be iterable containing ['Put out the garbage'] 08:43:59 2s 799ms SUCCESS
FilteringTodoItems Should be able to view only completed todos Chrome,linux 6 James starts with a todo list containing Walk the dog, Put out the garbage James completes the item called Walk the dog James filters items by Completed Then the items displayed should be iterable containing ['Walk the dog'] Then the items displayed should be not iterable containing ['Put out the garbage'] Then the current filter should be (Completed) 08:43:56 3s 526ms SUCCESS
FilteringTodoItems Should be able to view only incomplete todos Chrome,linux 6 James starts with a todo list containing Walk the dog, Put out the garbage James completes the item called Walk the dog James filters items by Active Then the items displayed should be iterable containing ['Put out the garbage'] Then the items displayed should be not iterable containing ['Walk the dog'] Then the current filter should be (Active) 08:43:59 3s 618ms SUCCESS
FilteringTodoItems Foo bar
3 passing test cases
Chrome,linux 5 James starts with a todo list containing , James completes the item called James filters items by Then the items displayed should be iterable containing ['', ''] Then the current filter should be () 08:44:10 3s 404ms SUCCESS
HandlingTodosBelongingToSeveralUsers Should not affect todos belonging to another user Chrome,linux 5 James starts with a todo list containing Walk the dog, Put out the garbage Jane starts with a todo list containing Walk the dog, Feed the cat James completes the item called Walk the dog James clears all the completed items Then the items displayed should be iterable containing ['Walk the dog', 'Feed the cat'] 08:43:55 6s 451ms SUCCESS
AddNewTodos Should be able to add additional todo items Chrome,linux 3 James starts with a todo list containing Walk the dog, Put out the garbage James adds a todo item called: Buy some milk Then the items displayed should be (a collection containing 'Walk the dog' and a collection containing 'Put out the garbage' and a collection containing 'Buy some milk') 08:43:56 3s 637ms SUCCESS
AddNewTodos Should be able to add the first todo item Chrome,linux 3 James starts with an empty todo list James adds a todo item called: Buy some milk Then the items displayed should be a collection containing 'Buy some milk' 08:43:59 2s 902ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.12