Skip to content

Commit

Permalink
fix(): e2e test (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat authored Jan 28, 2022
1 parent ee477a9 commit b693643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions starters/e2e/todo/todo.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

Expand Down
1 change: 1 addition & 0 deletions starters/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const config: PlaywrightTestConfig = {
height: 600,
},
},
retries: 3,
webServer: {
command: 'node starters/dev-server.cjs 3301',
port: 3301,
Expand Down

0 comments on commit b693643

Please sign in to comment.