Skip to content

Commit 124f5d2

Browse files
authored
Update should-add-multiple-todos.spec.ts
1 parent b4ee312 commit 124f5d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/todomvc/tests/adding-todos/should-add-multiple-todos.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test.describe('Adding Todos', () => {
1010

1111
// Expect: The todo appears in the list, Counter shows '1 item left'
1212
await expect(page.getByText('Buy milk')).toBeVisible();
13-
await expect(page.getByText('2 item left')).toBeVisible();
13+
await expect(page.getByText('1 item left')).toBeVisible();
1414

1515
// 2. Add second todo 'Walk the dog'
1616
await page.getByRole('textbox', { name: 'What needs to be done?' }).fill('Walk the dog');

0 commit comments

Comments
 (0)