Skip to content

Commit

Permalink
update: vite.config
Browse files Browse the repository at this point in the history
  • Loading branch information
lazToum committed Jan 18, 2025
1 parent dc8ff9b commit ae135e2
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,19 +164,21 @@ export default defineConfig(({ command }) => ({
browser: {
provider: "playwright", // or 'webdriverio'
enabled: isBrowserTest,
name: "chromium", // browser name is required
headless: true,
viewport,
providerOptions: {
context: {
recordVideo: {
dir: resolve(__dirname, ".local", "recordings"),
size: viewport,
instances: [
{
browser: "chromium",
context: {
recordVideo: {
dir: recordingsDir,
size: viewport,
},
viewport,
reducedMotion: "reduce",
},
viewport,
reducedMotion: "reduce",
},
},
],
},
},
}));

0 comments on commit ae135e2

Please sign in to comment.