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

Tag: Cucumber

12 tests |

Overview

Test Outcomes

Test Performance

Functional Coverage Overview

Features

Key Statistics

Number of Scenarios 10
Total Number of Test Cases 12
Tests Started May 23, 2024 08:43:43
Tests Finished May 23, 2024 08:43:55
Total Duration 12s
Fastest Test 2s
Slowest Test 10s
Average Execution Time 6s
Total Execution Time 1m 14s

Functional Coverage Details

Features

Feature Scenarios StepsText Test Cases % Pass Result Coverage
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%
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%
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%

Key Statistics

Number of Scenarios 10 Total Duration 12s
Total Number of Test Cases 12 Fastest Test 2s
Number of Manual Test Cases 0 Slowest Test 10s
Tests Started May 23, 2024 08:43:43 Average Execution Time 6s
Tests Finished May 23, 2024 08:43:55 Total Execution Time 1m 14s

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
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

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.12