Serenity/JS with Playwright Test
Home > Requirements > Recording items
Report generated 30-04-2024 20:19

Feature: Recording items

Scenarios

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

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 {{persisted item called buy some cheese}}.name does equal 'buy some cheese'

Alice ensures that {{persisted item called buy some cheese}}.completed does equal false

Alice starts with a list containing 3 items

Alice ensures that number of items left does equal 3

Alice ensures that {{persisted items}}.length does equal 3

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

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

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 {{persisted item called buy some cheese}}.name does equal 'buy some cheese'

Alice ensures that {{persisted item called buy some cheese}}.completed does equal false

Alice starts with a list containing 3 items

Alice ensures that number of items left does equal 3

Alice ensures that {{persisted items}}.length does equal 3

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

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

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 {{persisted item called buy some cheese}}.name does equal 'buy some cheese'

Alice ensures that {{persisted item called buy some cheese}}.completed does equal false

Alice starts with a list containing 3 items

Alice ensures that number of items left does equal 3

Alice ensures that {{persisted items}}.length does equal 3

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

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 12 Total Duration 0ms
Total Number of Test Cases 12 Fastest Test 443ms
Number of Manual Test Cases 0 Slowest Test 1s
Tests Started Apr 30, 2024 20:19:59 Average Execution Time 786ms
Tests Finished Total Execution Time 9s

Automated Tests

feature Scenario Context Steps Started Total Duration Result
Recording items Todo List App should allow me to add todo items linux,Chrome 6 20:19:59 558ms SUCCESS
Recording items Todo List App should clear text input field when an item is added linux,Chrome 5 20:19:59 443ms SUCCESS
Recording items Todo List App should reflect the number of items left in the counter linux,Chrome 3 20:20:00 632ms SUCCESS
Recording items Todo List App should show #main and #footer sections only when list contains items linux,Chrome 6 20:20:00 1s 086ms SUCCESS
Recording items Todo List App should allow me to add todo items linux,Firefox 6 20:20:07 670ms SUCCESS
Recording items Todo List App should clear text input field when an item is added linux,Firefox 5 20:20:08 548ms SUCCESS
Recording items Todo List App should reflect the number of items left in the counter linux,Firefox 3 20:20:08 760ms SUCCESS
Recording items Todo List App should show #main and #footer sections only when list contains items linux,Firefox 6 20:20:09 1s 072ms SUCCESS
Recording items Todo List App should allow me to add todo items linux,Safari or WebKit 6 20:20:22 813ms SUCCESS
Recording items Todo List App should clear text input field when an item is added linux,Safari or WebKit 5 20:20:23 707ms SUCCESS
Recording items Todo List App should reflect the number of items left in the counter linux,Safari or WebKit 3 20:20:24 917ms SUCCESS
Recording items Todo List App should show #main and #footer sections only when list contains items linux,Safari or WebKit 6 20:20:25 1s 228ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.6