From 7aefefc31f07821fac6c7a45b2babf46373125e6 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Fri, 13 Feb 2026 10:37:47 +0000 Subject: [PATCH] feat: enable onboarding-v3 globally and update e2e tests (#27922) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: enable onboarding-v3 globally and update e2e tests - Add migration to set onboarding-v3 feature flag enabled=true - Rewrite onboarding.e2e.ts for v3 flow (Plan Selection → Personal Settings → Calendar) - Update URL assertions in signup, team-invitation, org-invitation, ab-tests-redirect, and auth tests to accept both old and new onboarding paths Co-Authored-By: sean@cal.com * fix: use pathname-only matching in waitForURL to prevent false matches on callbackUrl query param Co-Authored-By: sean@cal.com * use test IDs --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> --- .../getting-started/onboarding-view.tsx | 1 + .../calendar/personal-calendar-view.tsx | 1 + apps/web/playwright/ab-tests-redirect.e2e.ts | 5 +- apps/web/playwright/auth/auth-index.e2e.ts | 4 +- apps/web/playwright/onboarding.e2e.ts | 81 +++++-------------- .../organization-invitation.e2e.ts | 17 ++-- apps/web/playwright/signup.e2e.ts | 28 ++++--- .../playwright/team/team-invitation.e2e.ts | 9 ++- .../migration.sql | 3 + 9 files changed, 61 insertions(+), 88 deletions(-) create mode 100644 packages/prisma/migrations/20260213000000_enable_onboarding_v3_globally/migration.sql diff --git a/apps/web/modules/onboarding/getting-started/onboarding-view.tsx b/apps/web/modules/onboarding/getting-started/onboarding-view.tsx index 8598c774d4..c4c816c641 100644 --- a/apps/web/modules/onboarding/getting-started/onboarding-view.tsx +++ b/apps/web/modules/onboarding/getting-started/onboarding-view.tsx @@ -151,6 +151,7 @@ export const OnboardingView = ({ userEmail }: OnboardingViewProps) => { footer={