mirror of
https://github.com/saltbo/zpan.git
synced 2026-08-29 08:16:58 +08:00
e3b257e2ba
Use Playwright page.route() to mock the file list API, getObject API, and S3 download URLs. This allows testing text, markdown, and code preview rendering without a real S3 backend. Verifies: - Mobile: preview opens as full-screen drawer with content rendered - Desktop: preview opens as centered dialog with content rendered - File header shows name and size correctly Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>