This is an end-to-end testing for Vetlog using Playwright
- NodeJS version
v22.11.0
Note: I recommed to use NVM to manage NodeJS versions
npm install
npx playwright test e2e
npx playwright show-report
npx playwright test tests/e2e/admin
npx playwright test tests/e2e/${test-file-name}
Where:
${test-file-name}
is the spec you want to run
export VETLOG_USERNAME=${USERNAME}
export VETLOG_PASSWORD=${PASSWORD}
where:
${USERNAME}
is your Vetlog username${PASSWORD}
is your Vetlog password
Note
If you are using Windows based platform:
$Env:VETLOG_USERNAME="VetlogUser"
$Env:VETLOG_PASSWORD="VetlogPassword"
To format the project:
npx prettier --write .
To check for linting issues:
npm run lint
To automatically fix linting issues:
npm run lint:fix
Thanks goes to these wonderful people (emoji key):
Ahmed Halac 💻 🚇 👀 |
T.H(kaminuma) 👀 |
This project follows the all-contributors specification. Contributions of any kind welcome!