Skip to content

Conversation

@pietrushnic
Copy link
Member

Add container-based test runner for slidev-template:

  • scripts/run-tests.sh: Single-command test execution
    • Starts dev server in Docker container
    • Runs Playwright tests
    • Cleans up automatically
  • playwright.config.ts: Test configuration
  • package.json: Add Playwright dev dependency
  • Update Docker image to playwright:v1.57.0-noble

Usage:
./scripts/run-tests.sh # Run all tests
./scripts/run-tests.sh update # Update baselines
./scripts/run-tests.sh dev # Manual testing
./scripts/run-tests.sh clean # Cleanup

Add container-based test runner for slidev-template:
- scripts/run-tests.sh: Single-command test execution
  - Starts dev server in Docker container
  - Runs Playwright tests
  - Cleans up automatically
- playwright.config.ts: Test configuration
- package.json: Add Playwright dev dependency
- Update Docker image to playwright:v1.57.0-noble

Usage:
  ./scripts/run-tests.sh          # Run all tests
  ./scripts/run-tests.sh update   # Update baselines
  ./scripts/run-tests.sh dev      # Manual testing
  ./scripts/run-tests.sh clean    # Cleanup

Signed-off-by: Piotr Król <piotr.krol@3mdeb.com>
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.

2 participants