Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

test(cowork): mark the Cowork page root for the desktop suite

thinhlpg6677fb2d8b31
diff --git a/web-app/src/routes/cowork.tsx b/web-app/src/routes/cowork.tsx
index 9b7d458aa..c97431c34 100644
--- a/web-app/src/routes/cowork.tsx
+++ b/web-app/src/routes/cowork.tsx
@@ -1465,7 +1465,10 @@ function CoworkPage() {
useEffect(() => setRail(null), [session?.id])
return (
- <div className="flex flex-col h-[calc(100dvh-(env(safe-area-inset-bottom)+env(safe-area-inset-top)))]">
+ <div
+ data-testid="cowork-surface"
+ className="flex flex-col h-[calc(100dvh-(env(safe-area-inset-bottom)+env(safe-area-inset-top)))]"
+ >
<HeaderPage>
<div className="flex items-center justify-between w-full pr-2">
<DropdownModelProvider