Skip to content

Commit a9ffefa

Browse files
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) <noreply@anthropic.com>
1 parent fcc5ee0 commit a9ffefa

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/endform-tests-on-main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Wait for Vercel deployment
3434
uses: endformdev/actions/run-with-vercel-deployment@main
3535
with:
36-
project-name: endform-playwright-tutorial
36+
project-name: playwright-tutorial
3737
set-url-env-var: BASE_URL # Sets the Vercel preview URL as the BASE_URL environment variable
3838
set-vercel-bypass-env-var: VERCEL_BYPASS_TOKEN # Exports a deployment protection bypass token as this env var
3939

‎mcp-user.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { createUserInFile, deleteUserFromFile } from "./setup-utils";
1212
process.exit(1);
1313
}
1414

15-
const baseURL = "https://endform-playwright-tutorial.vercel.app";
15+
const baseURL = "https://playwright-tutorial.vercel.app";
1616
// const baseURL = "http://localhost:3000";
1717

1818
if (scriptArg === "create") {

‎playwright.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type { PlaywrightOpentelemetryUseOptions } from "playwright-opentelemetry
1010
// dotenv.config({ path: path.resolve(__dirname, '.env') });
1111

1212
export const baseURL =
13-
process.env.BASE_URL || "https://endform-playwright-tutorial.vercel.app";
13+
process.env.BASE_URL || "https://playwright-tutorial.vercel.app";
1414

1515
const playwrightOtelEnabled = Boolean(
1616
process.env.PLAYWRIGHT_TRACE_API_ENDPOINT ||

‎tests/support/faults.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,6 @@ async function setAppFaultHeader(page: Page, faultName: FaultName) {
450450

451451
function getBaseUrl() {
452452
return (
453-
process.env.BASE_URL || "https://endform-playwright-tutorial.vercel.app"
453+
process.env.BASE_URL || "https://playwright-tutorial.vercel.app"
454454
);
455455
}

0 commit comments

Comments
 (0)