From 7082092c4d1df78700b91f6868db871cc41ba1da Mon Sep 17 00:00:00 2001 From: Jacek Date: Fri, 20 Mar 2026 16:30:17 -0500 Subject: [PATCH] fix(e2e): skip keyless dashboard tests in staging The staging dashboard (dashboard.clerkstage.dev) is behind Vercel SSO, so keyless claim tests that navigate to the dashboard cannot complete. Skip only the tests that open the dashboard; other keyless tests (redirect loop, env restart) still run. --- integration/tests/next-quickstart-keyless.test.ts | 2 ++ integration/tests/react-router/keyless.test.ts | 2 ++ integration/tests/tanstack-start/keyless.test.ts | 2 ++ 3 files changed, 6 insertions(+) diff --git a/integration/tests/next-quickstart-keyless.test.ts b/integration/tests/next-quickstart-keyless.test.ts index ff4fac4e5a9..01fba38bc82 100644 --- a/integration/tests/next-quickstart-keyless.test.ts +++ b/integration/tests/next-quickstart-keyless.test.ts @@ -56,6 +56,7 @@ test.describe('Keyless mode @quickstart', () => { }); test('Toggle collapse popover and claim.', async ({ page, context }) => { + test.skip(process.env.E2E_STAGING === '1', 'Staging dashboard is behind Vercel SSO'); await testToggleCollapsePopoverAndClaim({ page, context, app, dashboardUrl, framework: 'nextjs' }); }); @@ -63,6 +64,7 @@ test.describe('Keyless mode @quickstart', () => { page, context, }) => { + test.skip(process.env.E2E_STAGING === '1', 'Staging dashboard is behind Vercel SSO'); await mockClaimedInstanceEnvironmentCall(page); const u = createTestUtils({ app, page, context }); await u.page.goToAppHome(); diff --git a/integration/tests/react-router/keyless.test.ts b/integration/tests/react-router/keyless.test.ts index a2605806778..87e7b00ef18 100644 --- a/integration/tests/react-router/keyless.test.ts +++ b/integration/tests/react-router/keyless.test.ts @@ -39,6 +39,7 @@ test.describe('Keyless mode @react-router', () => { }); test('Toggle collapse popover and claim.', async ({ page, context }) => { + test.skip(process.env.E2E_STAGING === '1', 'Staging dashboard is behind Vercel SSO'); await testToggleCollapsePopoverAndClaim({ page, context, app, dashboardUrl, framework: 'react-router' }); }); @@ -46,6 +47,7 @@ test.describe('Keyless mode @react-router', () => { page, context, }) => { + test.skip(process.env.E2E_STAGING === '1', 'Staging dashboard is behind Vercel SSO'); await testClaimedAppWithMissingKeys({ page, context, app, dashboardUrl }); }); diff --git a/integration/tests/tanstack-start/keyless.test.ts b/integration/tests/tanstack-start/keyless.test.ts index a2605806778..87e7b00ef18 100644 --- a/integration/tests/tanstack-start/keyless.test.ts +++ b/integration/tests/tanstack-start/keyless.test.ts @@ -39,6 +39,7 @@ test.describe('Keyless mode @react-router', () => { }); test('Toggle collapse popover and claim.', async ({ page, context }) => { + test.skip(process.env.E2E_STAGING === '1', 'Staging dashboard is behind Vercel SSO'); await testToggleCollapsePopoverAndClaim({ page, context, app, dashboardUrl, framework: 'react-router' }); }); @@ -46,6 +47,7 @@ test.describe('Keyless mode @react-router', () => { page, context, }) => { + test.skip(process.env.E2E_STAGING === '1', 'Staging dashboard is behind Vercel SSO'); await testClaimedAppWithMissingKeys({ page, context, app, dashboardUrl }); });