E2E: remove Clerk bypass and sign in via Clerk in Cypress

This commit is contained in:
abhi1693
2026-02-07 17:01:00 +00:00
committed by Kunal
parent c4a5d8dd48
commit ecee7ecaf5
4 changed files with 42 additions and 19 deletions

View File

@@ -1,10 +1,10 @@
"use client";
import type { ReactNode } from "react";
// NOTE: We intentionally keep this file very small and dependency-free.
// It provides CI/secretless-build safe fallbacks for Clerk hooks/components.
import type { ReactNode, ComponentProps } from "react";
import {
ClerkProvider,
SignedIn as ClerkSignedIn,
@@ -15,8 +15,6 @@ import {
useUser as clerkUseUser,
} from "@clerk/nextjs";
import type { ComponentProps } from "react";
import { isLikelyValidClerkPublishableKey } from "@/auth/clerkKey";
export function isClerkEnabled(): boolean {