Skip to content

Repository files navigation

End-to-End Testing (Playwright)

This project includes end-to-end tests using Playwright.

Requirements

  • Node.js (LTS)
  • Project dependencies installed

Install

npm ci
npx playwright install

Run tests

npx playwright test

Run tests with UI

npx playwright test --ui

View report

npx playwright show-report

Environment Variables

Create a .env file in the root:

BASE_URL=http://localhost:5173
API_URL=http://localhost:3000

Run with backend (local)

Make sure backend and database are running:

docker-compose up

npx playwright test

CI (GitHub Actions)

Tests run automatically on:

  • push to main/master
  • pull requests

Workflow:

  • Installs dependencies
  • Installs Playwright browsers
  • Runs tests in Ubuntu environment
  • Uploads HTML report as artifact

About

Full-stack Art Movements system using Vue, Node.js, MongoDB and Docker.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages