diff --git a/starters/e2e/todo/todo.spec.ts b/starters/e2e/todo/todo.spec.ts index 8f1b2f9cc26..63f604a6c63 100644 --- a/starters/e2e/todo/todo.spec.ts +++ b/starters/e2e/todo/todo.spec.ts @@ -38,6 +38,7 @@ test.describe('Todo', () => { await page.locator('.todo-list>li:first-child input.edit').fill(''); await page.locator('.todo-list>li:first-child input.edit').press('X'); await page.locator('.todo-list>li:first-child input.edit').press('Enter'); + await page.waitForTimeout(100); await expect(page.locator('.todo-list>li:first-child')).toContainText('X'); }); diff --git a/starters/playwright.config.ts b/starters/playwright.config.ts index 5c1d74e17bd..34f17fd7ec1 100644 --- a/starters/playwright.config.ts +++ b/starters/playwright.config.ts @@ -7,6 +7,7 @@ const config: PlaywrightTestConfig = { height: 600, }, }, + retries: 3, webServer: { command: 'node starters/dev-server.cjs 3301', port: 3301,