Skip to content

Commit

Permalink
test: install only chrome and firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
GauBen committed Dec 21, 2024
1 parent 23c5031 commit bbfb410
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demos/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "svelte-kit sync && svelte-check && playwright test",
"dev": "vite dev",
"preview": "vite preview",
"postinstall": "yarn playwright install --with-deps"
"postinstall": "yarn playwright install chrome firefox --with-deps"
},
"dependencies": {
"formgator": "workspace:*"
Expand Down
4 changes: 2 additions & 2 deletions demos/sveltekit/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineConfig({
reporter: "html",
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: "http://127.0.0.1:4173",
baseURL: "http://localhost:4173",
},

/* Configure projects for major browsers */
Expand All @@ -28,7 +28,7 @@ export default defineConfig({

webServer: {
command: "yarn preview",
url: "http://127.0.0.1:4173",
url: "http://localhost:4173",
reuseExistingServer: !process.env.CI,
stdout: "pipe",
stderr: "pipe",
Expand Down

0 comments on commit bbfb410

Please sign in to comment.