Skip to content

Add E2E tests with Playwright for docs site #45

Description

@yuribodo

Description

The documentation site has pages for all 10 charts and an examples section. No integration-level testing exists to catch regressions that unit tests miss.

Test scenarios

  • Docs site builds and serves without errors
  • Each chart documentation page renders its interactive example
  • Sales dashboard example loads completely
  • Dark/light mode toggle works
  • Mobile responsive layout functions correctly
  • Navigation between pages works
  • Code snippets are syntax-highlighted
  • Chart interactions (hover, click) work in browser

Tasks

  • Install and configure Playwright
  • Create test suite for docs site
  • Add to CI pipeline
  • Configure screenshot comparison for visual regression

Why this matters

Catches integration-level regressions (broken imports, CSS issues, hydration errors) that unit tests cannot detect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2: nice-to-haveNice to have - polish and advanced featurestestingTests and quality assurance

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions