- 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>
14 lines
513 B
TypeScript
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();
|
|
});
|