Skip to content

Commit

Permalink
[e2e] adding ending slash on url
Browse files Browse the repository at this point in the history
  • Loading branch information
sim51 committed Jun 17, 2024
1 parent 0a6cf26 commit a34036d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig({
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: process.env.CI ? "http://localhost:4173/gephi-lite" : "http://127.0.0.1:5173/gephi-lite",
baseURL: process.env.CI ? "http://localhost:4173/gephi-lite/" : "http://127.0.0.1:5173/gephi-lite/",

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry",
Expand All @@ -41,7 +41,7 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: {
command: "npm run build && npm run serve",
url: process.env.CI ? "http://localhost:4173/gephi-lite" : "http://127.0.0.1:5173/gephi-lite",
url: process.env.CI ? "http://localhost:4173/gephi-lite/" : "http://127.0.0.1:5173/gephi-lite/",
reuseExistingServer: !process.env.CI,
timeout: 120000,
},
Expand Down

0 comments on commit a34036d

Please sign in to comment.