Skip to content

Commit b693643

Browse files
authored
fix(): e2e test (#153)
1 parent ee477a9 commit b693643

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

starters/e2e/todo/todo.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ test.describe('Todo', () => {
3838
await page.locator('.todo-list>li:first-child input.edit').fill('');
3939
await page.locator('.todo-list>li:first-child input.edit').press('X');
4040
await page.locator('.todo-list>li:first-child input.edit').press('Enter');
41+
await page.waitForTimeout(100);
4142
await expect(page.locator('.todo-list>li:first-child')).toContainText('X');
4243
});
4344

starters/playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const config: PlaywrightTestConfig = {
77
height: 600,
88
},
99
},
10+
retries: 3,
1011
webServer: {
1112
command: 'node starters/dev-server.cjs 3301',
1213
port: 3301,

0 commit comments

Comments
 (0)