Skip to content

test: add playwright end to end test - #16

Open
TorunW wants to merge 4 commits into
CodingCru:mainfrom
TorunW:test/add-playwright-end-to-end-tests
Open

test: add playwright end to end test#16
TorunW wants to merge 4 commits into
CodingCru:mainfrom
TorunW:test/add-playwright-end-to-end-tests

Conversation

@TorunW

@TorunW TorunW commented May 11, 2026

Copy link
Copy Markdown

Closes #12

Summary

This PR adds Playwright end-to-end testing support for the project and integrates E2E testing into the CI workflow.

Changes made

  • Added @playwright/test to frontend dev dependencies

  • Created playwright.config.ts

  • Configured Playwright to start the backend/server when running tests

  • Added a test:e2e script to package.json

  • Added GitHub Actions workflow configuration in .github/workflows/playwright.yml

  • Added README documentation for running E2E tests locally:

    cd frontend && pnpm test:e2e
  • Added initial Playwright E2E tests:

    • Verifies the backend health status is displayed correctly
    • Verifies the page title is rendered correctly

Tests added

  • Homepage title validation
  • Backend health endpoint/status rendering validation

Goal

This enables automated end-to-end testing of the full stack application in CI using Playwright.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Playwright end-to-end tests

1 participant