diff --git a/.github/workflows/endform-tests-on-main.yml b/.github/workflows/endform-tests-on-main.yml index 8807e99..ef7bf1e 100644 --- a/.github/workflows/endform-tests-on-main.yml +++ b/.github/workflows/endform-tests-on-main.yml @@ -33,7 +33,7 @@ jobs: - name: Wait for Vercel deployment uses: endformdev/actions/run-with-vercel-deployment@main with: - project-name: endform-playwright-tutorial + project-name: playwright-tutorial set-url-env-var: BASE_URL # Sets the Vercel preview URL as the BASE_URL environment variable set-vercel-bypass-env-var: VERCEL_BYPASS_TOKEN # Exports a deployment protection bypass token as this env var diff --git a/mcp-user.ts b/mcp-user.ts index 4bb313f..c87ed43 100644 --- a/mcp-user.ts +++ b/mcp-user.ts @@ -12,7 +12,7 @@ import { createUserInFile, deleteUserFromFile } from "./setup-utils"; process.exit(1); } - const baseURL = "https://endform-playwright-tutorial.vercel.app"; + const baseURL = "https://playwright-tutorial.vercel.app"; // const baseURL = "http://localhost:3000"; if (scriptArg === "create") { diff --git a/playwright.config.ts b/playwright.config.ts index 66422cf..ab86cd8 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -10,7 +10,7 @@ import type { PlaywrightOpentelemetryUseOptions } from "playwright-opentelemetry // dotenv.config({ path: path.resolve(__dirname, '.env') }); export const baseURL = - process.env.BASE_URL || "https://endform-playwright-tutorial.vercel.app"; + process.env.BASE_URL || "https://playwright-tutorial.vercel.app"; const playwrightOtelEnabled = Boolean( process.env.PLAYWRIGHT_TRACE_API_ENDPOINT || diff --git a/tests/support/faults.ts b/tests/support/faults.ts index 7c4d1b0..0e52f38 100644 --- a/tests/support/faults.ts +++ b/tests/support/faults.ts @@ -450,6 +450,6 @@ async function setAppFaultHeader(page: Page, faultName: FaultName) { function getBaseUrl() { return ( - process.env.BASE_URL || "https://endform-playwright-tutorial.vercel.app" + process.env.BASE_URL || "https://playwright-tutorial.vercel.app" ); }