Skip to content

Add End-to-End Tests with Playwright #44

@FerdinandSu

Description

@FerdinandSu

Description / 描述

English:
Add end-to-end tests for critical user flows using Playwright. This ensures the entire application works correctly from the user's perspective.

User flows to test:

  • User creates a new entry
  • User edits an existing entry
  • User filters entries by date range
  • User manages categories
  • User manages types
  • User views dashboard statistics
  • Error handling scenarios

Tech Stack:

  • Playwright for E2E testing
  • TypeScript for test code
  • GitHub Actions for CI integration

中文:
使用 Playwright 为关键用户流程添加端到端测试。这确保整个应用程序从用户角度正常工作。

Difficulty / 难度

Medium-Hard / 中等-困难

Estimated Time / 预计时间

8-10 hours

Acceptance Criteria / 验收标准

  • Install and configure Playwright
  • Write E2E tests in TypeScript
  • Cover all critical user flows
  • Tests run in multiple browsers (Chrome, Firefox, Safari)
  • Tests run in CI/CD pipeline
  • Include visual regression tests (optional)
  • PR MUST include screenshots/videos of test runs
  • README with instructions to run tests locally

Before starting, please comment on this issue to let us know you're working on it!
开始前请在此 issue 下评论,让我们知道你正在处理它!

See CONTRIBUTING.md for contribution guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    e2eEnd-to-end testingfrontendFrontend relatedtestingTesting related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions