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

Tag: Completing

7 tests |

Overview

Test Outcomes

Test Performance

Functional Coverage Overview

Features

Key Statistics

Number of Scenarios 5
Total Number of Test Cases 7
Tests Started May 23, 2024 08:43:43
Tests Finished May 23, 2024 08:43:55
Total Duration 12s
Fastest Test 2s
Slowest Test 9s
Average Execution Time 5s
Total Execution Time 34s

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%

Key Statistics

Number of Scenarios 5 Total Duration 12s
Total Number of Test Cases 7 Fastest Test 2s
Number of Manual Test Cases 0 Slowest Test 9s
Tests Started May 23, 2024 08:43:43 Average Execution Time 5s
Tests Finished May 23, 2024 08:43:55 Total Execution Time 34s

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

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.12