web-planer icon indicating copy to clipboard operation
web-planer copied to clipboard

tests: e2e testing course

Open olekszczepanowski opened this issue 5 months ago • 0 comments

bez logowania

  • tworzenie, edycja, usuwanie i udostępnianie planów
  • pobieranie planów w różnych formatach
  • feedback form

[!IMPORTANT] Add end-to-end tests for course planning features using Playwright, including plan creation, editing, deletion, sharing, and feedback form validation.

  • Testing:
    • Adds end-to-end tests in tests/tests.spec.ts for creating, editing, deleting, and sharing plans.
    • Tests downloading plans as .png and .ics files.
    • Tests feedback form validation for email, title, and description.
  • Configuration:
    • Adds Playwright configuration in playwright.config.ts.
    • Updates .gitignore to include Playwright-related files.
    • Adds @playwright/test to devDependencies in package.json.
  • Components:
    • Adds data-testid attributes to buttons in page.client.tsx, plan-display-link.tsx, and plan-item.tsx for testability.
    • Updates validation messages in schemas.ts for feedback form.

This description was created by Ellipsis for f5fa3e9496ba77070bfb4ab19f27e90e239c9437. You can customize this summary. It will automatically update as commits are pushed.

olekszczepanowski avatar Jul 24 '25 21:07 olekszczepanowski