adhikareeprayush / adhikareeprayush/slide-forge
Add Playwright E2E test for generate to editor to export
- 主要語言
- TypeScript
- 星號
- 0
- 分支
- 3
- PR 合併指標
- 30 天內沒有已合併 PR
描述
## Summary
No browser E2E tests exist. A happy-path test would catch regressions in the core user flow.
## Tasks
- [ ] Add Playwright to `apps/web`
- [ ] Test: start generation (mock AI) → land in editor → slides visible
- [ ] Test: export PPTX or PDF (poll job status)
- [ ] Run in CI with `AI_PROVIDER=mock`
## Files
- `apps/web/`
- `.github/workflows/ci.yml`
- `apps/api/src/services/ai/mock.ts`
貢獻指南
研究方向
Start by inspecting apps/web/ for the existing application and test setup, then read apps/api/src/services/ai/mock.ts and .github/workflows/ci.yml. Verify how the generation flow reaches the editor and how export job status is exposed before defining the Playwright steps. Done means the mock-backed generation, visible slides, and PPTX or PDF export run in CI with AI_PROVIDER=mock.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- github-actions, playwright, typescript
- 領域
- ci-cd, full-stack, testing
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100