We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8433e6 commit 0073ce5Copy full SHA for 0073ce5
test/playwright.config.ts
@@ -1,12 +1,18 @@
1
-import type { PlaywrightTestConfig } from '@playwright/test';
+import type { PlaywrightTestConfig } from "@playwright/test";
2
3
const config: PlaywrightTestConfig = {
4
- webServer: {
5
- command: 'npm run build && npm run preview',
6
- port: 4173
7
- },
8
- testDir: 'tests',
9
- testMatch: /(.+\.)?(test|spec)\.[jt]s/
+ webServer: {
+ command: "npm run build && npm run preview",
+ port: 4173,
+ },
+ testDir: "tests",
+ testMatch: /(.+\.)?(test|spec)\.[jt]s/,
10
+ projects: [
11
+ {
12
+ name: "chrome",
13
+ use: { browserName: "chromium" },
14
15
+ ],
16
};
17
18
export default config;
0 commit comments