Skip to content

Commit

Permalink
chore: update playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
willuhmjs committed Dec 4, 2023
1 parent 385f429 commit aa2dc49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 70 deletions.
4 changes: 3 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ const config: PlaywrightTestConfig = {
command: 'npm run build && npm run preview',
port: 4173
},
testDir: 'tests'
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/

};

export default config;
3 changes: 2 additions & 1 deletion tests/test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
import { expect, test } from '@playwright/test';
test('index page has expected h2', async ({ page }) => {
await page.goto('/');
await expect(page.getByRole('heading', { name: 'title' })).toBeVisible();
});
});*/
68 changes: 0 additions & 68 deletions yarn-error.log

This file was deleted.

0 comments on commit aa2dc49

Please sign in to comment.