E2E: remove auth bypass; use real Clerk sign-in

Merges PR #49. CI: https://github.com/abhi1693/openclaw-mission-control/actions/runs/21800456912
This commit is contained in:
Abhimanyu Saharan
2026-02-08 20:56:01 +05:30
committed by GitHub
14 changed files with 366 additions and 174 deletions

View File

@@ -298,7 +298,7 @@ export default function ActivityPage() {
<div className="rounded-xl border border-slate-200 bg-white px-8 py-6 shadow-sm">
<p className="text-sm text-slate-600">Sign in to view the feed.</p>
<SignInButton
mode="modal"
mode="redirect"
forceRedirectUrl="/activity"
signUpForceRedirectUrl="/activity"
>

View File

@@ -0,0 +1,13 @@
"use client";
import { SignIn } from "@clerk/nextjs";
export default function SignInPage() {
// Dedicated sign-in route for Cypress E2E.
// Avoids modal/iframe auth flows and gives Cypress a stable top-level page.
return (
<main className="flex min-h-screen items-center justify-center bg-slate-50 p-6">
<SignIn routing="path" path="/sign-in" forceRedirectUrl="/activity" />
</main>
);
}