Repository: https://github.com/jaktestowac/gad-gui-api-demo
Follow instructions in app README
- VS Code
- Git
- Node.js (version >16)
- (optional) install VSC recommended plugins
- install dependencies:
npm install
- setup Playwright with:
npx playwright install --with-deps chromium
- setup husky with:
npx husky install
- prepare local env file :
cp .env-template .env
- copy app main URL as value
BASE_URL
variable in.env
file
Requirements:
- node.js installed in system
Steps:
- Open project root directory in cmd/terminal
- Run
npm i
- Run
npm run start
Application will be available athttp://localhost:3000
Run all tests:
npx playwright test
Run all tests with tags:
npx playwright test --grep /tag/
For more usage cases look in `package.json` scripts section.