Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioCasCeb committed Jan 5, 2024
1 parent 270ebbd commit dfebc10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web-new/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ console.log(process.env);
console.log(isCI);

if (isCI) {
const port = 3000;
const port = 5101;
const host = "http://localhost";
const fullHost = host + ":" + port;

Expand Down Expand Up @@ -56,7 +56,7 @@ module.exports = 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: isCI ? 'http://localhost:3000' : 'http://127.0.0.1:5100',
baseURL: isCI ? 'http://localhost:5101' : 'http://127.0.0.1:5100',

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
Expand Down Expand Up @@ -89,7 +89,7 @@ module.exports = defineConfig({
/* Run your local dev server before starting the tests */
webServer: {
command: isCI ? '' : 'npm run serve',
url: isCI ? 'http://localhost:3000' : 'http://127.0.0.1:5100',
url: isCI ? 'http://localhost:5101' : 'http://127.0.0.1:5100',
reuseExistingServer: !isCI,
},
});

0 comments on commit dfebc10

Please sign in to comment.