15 lines
369 B
TypeScript
15 lines
369 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|
|
|
export default defineConfig({
|
|
testDir: "./tests",
|
|
webServer: {
|
|
command: "npm run build && npm run preview -- --host 127.0.0.1",
|
|
url: "http://127.0.0.1:4173/options.html",
|
|
reuseExistingServer: false,
|
|
},
|
|
use: {
|
|
...devices["Desktop Chrome"],
|
|
baseURL: "http://127.0.0.1:4173",
|
|
},
|
|
});
|