From a9ffefae8a4f57d0d6e71376e585c7359a064af8 Mon Sep 17 00:00:00 2001 From: TheBigSadowski Date: Fri, 10 Jul 2026 11:55:55 -0700 Subject: [PATCH] Rename default project name to match repo name Change the default project name from "endform-playwright-tutorial" to "playwright-tutorial" so it matches the repository name. The Vercel project template setup flow uses the repo name as the project name, and these need to match for it to work correctly. Updates the endform action project-name and the default BASE_URL fallbacks in playwright.config.ts, mcp-user.ts, and tests/support/faults.ts. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/endform-tests-on-main.yml | 2 +- mcp-user.ts | 2 +- playwright.config.ts | 2 +- tests/support/faults.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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" ); }