Description
<!-- ai/agent generated description -->
### Preconditions
* Navigate to the Todos page
### Steps
1. Add three new todo items with the text "first", "second", and "last"
2. Verify that the todo items are displayed in the list in the order they were added
### Expected Result
* The todo list contains the three new todo items in the correct order ("first", "second", "last")
Code
Before(async ({ I, TodosPage }) => {
TodosPage.goto()
});
Scenario('New todos should be added to the bottom of the list 116', async ({ I, TodosPage }) => {
I.say('Given I added some todos')
TodosPage.enterTodo('first')
TodosPage.enterTodo('second')
TodosPage.enterTodo('last')
I.say('When I look at my todo list')
I.say('Then I see the todos in the order in which I added them')
await TodosPage.seeNthTodoEquals(1, 'first')
await TodosPage.seeNthTodoEquals(2, 'second')
await TodosPage.seeNthTodoEquals(3, 'last')
})