diff --git a/ui/desktop/package.json b/ui/desktop/package.json index 010d412314..4846166524 100644 --- a/ui/desktop/package.json +++ b/ui/desktop/package.json @@ -22,8 +22,8 @@ "bundle:intel": "node scripts/prepare-platform-binaries.js && npm run make -- --arch=x64 && cd out/Goose-darwin-x64 && ditto -c -k --sequesterRsrc --keepParent Goose.app Goose_intel_mac.zip", "debug": "echo 'run --remote-debugging-port=8315' && lldb out/Goose-darwin-arm64/Goose.app", "test-e2e": "npm run generate-api && playwright test", - "test-e2e:packaged": "npm run generate-api && NO_TEST_OVERLAY=1 playwright test tests/e2e/app.spec.ts", - "test-e2e:packaged:video": "npm run playwright:install && npm run generate-api && PW_ELECTRON_VIDEO=1 NO_TEST_OVERLAY=1 playwright test tests/e2e/app.spec.ts", + "test-e2e:non-video": "npm run generate-api && NO_TEST_OVERLAY=1 playwright test tests/e2e/app.spec.ts", + "test-e2e:video": "npm run playwright:install && npm run generate-api && PW_ELECTRON_VIDEO=1 NO_TEST_OVERLAY=1 playwright test tests/e2e/app.spec.ts", "test-e2e:dev": "npm run generate-api && playwright test --reporter=list --retries=0 --max-failures=1", "test-e2e:ui": "npm run generate-api && playwright test --ui", "test-e2e:debug": "npm run generate-api && playwright test --debug", diff --git a/ui/desktop/src/components/Layout/navigation/SessionsList.tsx b/ui/desktop/src/components/Layout/navigation/SessionsList.tsx index 942473678a..a4299f0d84 100644 --- a/ui/desktop/src/components/Layout/navigation/SessionsList.tsx +++ b/ui/desktop/src/components/Layout/navigation/SessionsList.tsx @@ -54,12 +54,14 @@ export const SessionsList: React.FC = ({ exit={{ height: 0, opacity: 0 }} transition={{ duration: 0.2 }} className="overflow-hidden mt-[2px]" + data-testid="chat-sessions-list" >
{/* New Chat button as first item */} {onNewChat && (
= ({ {onShowAll && sessions.length > 0 && (
{ return (
{ // Prevent popover from closing when clicking inside the alert box @@ -251,14 +252,17 @@ export const AlertBox = ({ alert, className }: AlertBoxProps) => {
- + {formatTokenCount(alert.progress!.current)} {Math.round((alert.progress!.current / alert.progress!.total) * 100)}%
- + {formatTokenCount(alert.progress!.total)}
diff --git a/ui/desktop/src/components/bottom_menu/BottomMenuAlertPopover.tsx b/ui/desktop/src/components/bottom_menu/BottomMenuAlertPopover.tsx index 95cf5a0be0..56676802f0 100644 --- a/ui/desktop/src/components/bottom_menu/BottomMenuAlertPopover.tsx +++ b/ui/desktop/src/components/bottom_menu/BottomMenuAlertPopover.tsx @@ -205,6 +205,7 @@ export default function BottomMenuAlertPopover({ alerts }: AlertPopoverProps) {