Commit Graph

393 Commits

Author SHA1 Message Date
Kunal
dde0c1e27d test(e2e): register Clerk Cypress commands via addClerkCommands 2026-02-08 15:06:06 +00:00
Kunal
d9570a0531 test(e2e): import Clerk Cypress support commands 2026-02-08 14:58:48 +00:00
Kunal
bd9ee7883a test(e2e): migrate Cypress auth to @clerk/testing commands 2026-02-08 14:52:03 +00:00
Kunal
76dc011459 cypress: handle Clerk verification method step before OTP 2026-02-08 14:32:12 +00:00
Kunal
ca5c5a2eea cypress: decide Clerk OTP step origin after email submit 2026-02-08 14:17:18 +00:00
Kunal
cb7d09f330 e2e: activity feed tests login first to avoid cross-origin redirect flake 2026-02-08 14:11:14 +00:00
Kunal
6a3aae8a8c e2e: /activity smoke expects redirect to sign-in when signed out 2026-02-08 14:05:55 +00:00
Kunal
28ad695340 e2e: expect /activity to redirect to sign-in when signed out 2026-02-08 14:05:55 +00:00
Ishaan (OpenClaw)
5fde02165a Revert "Make /activity public so signed-out UI renders"
This reverts commit 5419f01d54.
2026-02-08 13:57:16 +00:00
Ishaan (OpenClaw)
7896cfcdc6 Fix Cypress Clerk OTP helper for same-origin SignIn 2026-02-08 13:52:17 +00:00
Ishaan (OpenClaw)
5419f01d54 Make /activity public so signed-out UI renders 2026-02-08 13:45:48 +00:00
Ishaan (OpenClaw)
4c4d707c32 Fix Clerk proxy middleware build 2026-02-08 13:39:39 +00:00
Kunal
6692ed3ba5 fix(frontend): remove middleware.ts (use proxy.ts only) 2026-02-07 21:00:36 +00:00
Kunal
0fe9d8f79a fix(frontend): await auth() in clerkMiddleware callback 2026-02-07 20:43:14 +00:00
Abhimanyu Saharan
8422b0ca01 feat: enhance approvals panel with board labels and improved empty state display 2026-02-08 01:39:23 +05:30
Ishaan (OpenClaw)
7b4c40ae0b fix(auth): use redirectToSignIn in Clerk middleware 2026-02-07 20:04:23 +00:00
Arjun (OpenClaw)
ed2556c871 fix(frontend): await auth() before protect
Fix TS2339 by awaiting Clerk auth() (returns Promise<SessionAuthWithRedirect>) before calling protect().
2026-02-07 19:55:29 +00:00
Kunal
fce12698d8 fix(frontend): call auth().protect() in Clerk middleware 2026-02-07 19:41:37 +00:00
Arjun (OpenClaw)
9184ebed25 fix(frontend): satisfy Clerk auth() types in middleware
Avoid calling protect() on a Promise by awaiting auth() first.
2026-02-07 19:36:52 +00:00
Arjun (OpenClaw)
260e0815a8 fix(frontend): await auth().protect in middleware
Clerk middleware auth() is async in current types; await protect() to satisfy TS and avoid runtime issues.
2026-02-07 19:34:21 +00:00
Ishaan (OpenClaw)
05a83b765b fix(auth): enable Clerk middleware and make /sign-in public 2026-02-07 19:31:53 +00:00
abhi1693
a2627e36b0 E2E: make /sign-in catch-all and public in Clerk middleware 2026-02-07 19:30:21 +00:00
Arjun (OpenClaw)
52fcde5be8 Merge remote-tracking branch 'origin/master' into kunal/remove-e2e-auth-bypass 2026-02-07 19:25:41 +00:00
Arjun (OpenClaw)
e73b6c0f8c Merge master into fix/next-allowed-dev-origins 2026-02-07 19:17:53 +00:00
Kunal
81a4135347 fix(e2e): provide Clerk test creds + derive origin from publishable key 2026-02-07 19:16:47 +00:00
Abhimanyu Saharan
527cc13c63 refactor: improve code formatting and readability across multiple files 2026-02-08 00:46:15 +05:30
Abhimanyu Saharan
fa5b7dd271 feat: remove unused lead agent attributes from onboarding chat 2026-02-08 00:46:15 +05:30
Abhimanyu Saharan
40b0be7540 feat: add board group integration to boards page 2026-02-08 00:46:15 +05:30
Abhimanyu Saharan
91e4c069cc feat: enhance agent identity profile with purpose and personality attributes 2026-02-08 00:46:15 +05:30
abhi1693
d860298046 E2E: derive Clerk origin from publishable key; default test creds 2026-02-07 19:15:02 +00:00
abhi1693
33b413ebde E2E: implement /sign-in page with Clerk SignIn 2026-02-07 19:10:10 +00:00
Arjun (OpenClaw)
4d898dbb59 docs(frontend): clarify dev origin restrictions
Update frontend README note to explain host/origin mismatch and allowedDevOrigins when seeing proxy ECONNRESET in next dev.
2026-02-07 19:10:05 +00:00
Arjun (OpenClaw)
a50813931b fix(frontend): allow localhost dev origins
Expands Next.js allowedDevOrigins to include localhost/127.0.0.1 to reduce dev proxy ECONNRESET when binding next dev to 127.0.0.1.
2026-02-07 19:07:02 +00:00
abhi1693
8a2f792541 E2E: add /sign-in redirect; use it in Clerk Cypress login helper 2026-02-07 19:06:47 +00:00
Kunal
388402b834 fix(e2e): keep localhost baseUrl; bind dev server to 0.0.0.0 2026-02-07 19:02:17 +00:00
Kunal
f44f715e62 test(e2e): reuse shared cy.loginWithClerkOtp helper 2026-02-07 17:57:49 +00:00
Riya
6645b49a7c Merge master into kunal/remove-e2e-auth-bypass 2026-02-07 17:48:03 +00:00
Kunal
fd2c272824 chore(e2e): run Cypress in Chrome; use 127.0.0.1 baseUrl 2026-02-07 17:46:47 +00:00
Kunal
9eb6162771 fix(e2e): wrap Clerk redirect-origin interactions in cy.origin 2026-02-07 17:40:29 +00:00
Riya
d556269fa9 Merge remote-tracking branch 'origin/master' into riya/clerk-otp-cypress-helper 2026-02-07 17:38:06 +00:00
Kunal
e31b2b180b test(e2e): use Clerk redirect flow for stable Cypress login 2026-02-07 17:34:45 +00:00
Riya
8f08a8e9dc test(e2e): add Clerk OTP login helper (cy.origin) 2026-02-07 17:33:52 +00:00
Kunal
211308ef13 fix(e2e): pass Clerk publishable key into Cypress env 2026-02-07 17:33:23 +00:00
abhi1693
cad1cfbd09 E2E: pass Clerk publishable key into Cypress env 2026-02-07 17:33:09 +00:00
abhi1693
b82845aa42 E2E: use cy.origin for Clerk modal sign-in 2026-02-07 17:33:09 +00:00
abhi1693
ecee7ecaf5 E2E: remove Clerk bypass and sign in via Clerk in Cypress 2026-02-07 17:32:39 +00:00
Arjun (OpenClaw)
574c2fa93d Merge remote-tracking branch 'origin/master' into fix/compose-smoke-dockerfiles 2026-02-07 17:32:23 +00:00
Kunal
c4a5d8dd48 test(e2e): add negative auth case (wrong OTP) 2026-02-07 17:31:42 +00:00
Kunal
ac1c90c742 e2e: remove auth bypass; use real Clerk sign-in in Cypress 2026-02-07 17:31:37 +00:00
Abhimanyu Saharan
7d407b073e Merge pull request #41 from abhi1693/riya/frontend-activity-auth-boundary-test
Frontend: regression test for /activity Clerk auth boundary
2026-02-07 22:55:25 +05:30