mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-27 17:34:31 +01:00
14 lines
540 B
TypeScript
14 lines
540 B
TypeScript
import { takeScreenshots } from "../utils/snapshot-utils.js";
|
|
|
|
const BASE_URL = "http://localhost:3400";
|
|
|
|
async function main() {
|
|
// Error state screenshots
|
|
await takeScreenshots(`${BASE_URL}/non-existent-page`, "error-404-page");
|
|
await takeScreenshots(`${BASE_URL}/projects/non-existent-project`, "error-invalid-project");
|
|
await takeScreenshots(`${BASE_URL}/projects/sample-project/sessions/non-existent-session`, "error-invalid-session");
|
|
|
|
console.log("✅ Error states screenshots completed");
|
|
}
|
|
|
|
main().catch(console.error); |