diff --git a/frontend/cypress.config.ts b/frontend/cypress.config.ts index 377f873a..eefc3865 100644 --- a/frontend/cypress.config.ts +++ b/frontend/cypress.config.ts @@ -1,6 +1,10 @@ import { defineConfig } from "cypress"; export default defineConfig({ + env: { + // Expose Clerk publishable key to tests (used to compute Clerk origin for cy.origin). + NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY, + }, e2e: { baseUrl: "http://localhost:3000", video: false,