Description
<!-- ai/agent generated description -->
### Preconditions
* Navigate to the Todos page
### Steps
1. Add three new todo items: 'first', 'second', and 'last'
2. Verify that the todo items are displayed in the order they were added
### Expected Result
* The todo list displays the items in the correct order: 'first', 'second', and 'last'
Code
Before(async ({ I, TodosPage }) => {
TodosPage.goto()
});
Scenario('New todos should be added to the bottom of the list 121', 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')
})