···2727 /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2828 use: {
2929 /* Base URL to use in actions like `await page.goto('/')`. */
3030- // baseURL: 'http://127.0.0.1:3000',
3030+ baseURL: "http://localhost:8770",
31313232 /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
3333 trace: "on-first-retry",
+1-1
examples/create-next-app/e2e/base.spec.ts
···33test("the index page of the application shows the Next.js logo", async ({
44 page,
55}) => {
66- await page.goto("http://localhost:8770/");
66+ await page.goto("/");
77 await expect(page.getByAltText("Next.js logo")).toBeVisible();
88});
+2-2
examples/create-next-app/e2e/playwright.config.ts
···2727 /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2828 use: {
2929 /* Base URL to use in actions like `await page.goto('/')`. */
3030- // baseURL: 'http://127.0.0.1:3000',
3030+ baseURL: "http://localhost:8771",
31313232 /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
3333 trace: "on-first-retry",
···7474 /* Run your local dev server before starting the tests */
7575 webServer: {
7676 command: "pnpm preview:worker",
7777- url: "http://localhost:8770",
7777+ url: "http://localhost:8771",
7878 reuseExistingServer: !process.env.CI,
7979 },
8080});