Files
paseo/packages/server/tests/e2e/create-agent-modal.spec.ts
T
Mohamed BoudraandClaude Opus 4.5 40835bbe9d Fix Codex history persistence after daemon restart
- Modified loadPersistedHistoryFromDisk() to use sessionId or conversationId as fallback
- Added rollout path and session dir persistence in agent metadata
- Added fallback to default Codex session root when metadata path is empty
- Cleaned up create-agent-modal.tsx (removed 800+ lines of dead code)
- Updated app routing and home-footer cleanup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 11:39:20 +07:00

14 lines
513 B
TypeScript

import { test, expect } from "@playwright/test";
test("opens the create agent modal", async ({ page }) => {
await page.goto("/?modal=create");
await expect(page.getByText("Create New Agent")).toBeVisible();
await expect(page.getByText("Initial Prompt")).toBeVisible();
await expect(
page.getByPlaceholder("Describe what you want the agent to do")
).toBeVisible();
await expect(page.getByText("Working Directory")).toBeVisible();
await expect(page.getByText("Create Agent")).toBeVisible();
});