diff --git a/ui/desktop/playwright.config.ts b/ui/desktop/playwright.config.ts index 0beb7b431b..196b8180fd 100644 --- a/ui/desktop/playwright.config.ts +++ b/ui/desktop/playwright.config.ts @@ -4,7 +4,7 @@ const config: PlaywrightTestConfig = { testDir: './tests/e2e', timeout: 60000, expect: { - timeout: 30000 + timeout: 10000 }, fullyParallel: false, workers: 1, @@ -13,7 +13,7 @@ const config: PlaywrightTestConfig = { ['list'] ], use: { - actionTimeout: 30000, + actionTimeout: 10000, navigationTimeout: 30000, video: 'on', screenshot: 'only-on-failure' @@ -22,4 +22,4 @@ const config: PlaywrightTestConfig = { preserveOutput: 'always' }; -export default config; \ No newline at end of file +export default config; diff --git a/ui/desktop/src/components/Layout/CondensedRenderer.tsx b/ui/desktop/src/components/Layout/CondensedRenderer.tsx index 9f1713acb4..290c5244dc 100644 --- a/ui/desktop/src/components/Layout/CondensedRenderer.tsx +++ b/ui/desktop/src/components/Layout/CondensedRenderer.tsx @@ -3,7 +3,7 @@ import { GripVertical, ChevronDown, ChevronRight, Plus } from 'lucide-react'; import { motion } from 'framer-motion'; import { cn } from '../../utils'; import { DropdownMenu, DropdownMenuTrigger } from '../ui/dropdown-menu'; -import { ChatSessionsDropdown, SessionsList } from './navigation'; +import { ChatSessionsDropdown, SessionsList, getSidebarButtonTestId } from './navigation'; import type { NavigationRendererProps } from './navigation/types'; export const CondensedRenderer: React.FC = ({ @@ -76,6 +76,7 @@ export const CondensedRenderer: React.FC = ({ const isDragging = drag.draggedItem === item.id; const isDragOver = drag.dragOverItem === item.id; const isChatItem = item.id === 'chat'; + const navButtonTestId = getSidebarButtonTestId(item.id); return ( = ({