This is an end-to-end testing for Vetlog using Playwright and Applitools
- NodeJS version
v18.18.0
Note: I recommed to use NVM to manage NodeJS versions
npm install
npx playwright test e2e
npx playwright test visual --project chromium
npx playwright show-report
export VETLOG_USERNAME=${USERNAME}
export VETLOG_PASSWORD=${PASSWORD}
export APPLITOOLS_API_KEY=${YOUR_APPLITOOLS_API_KEY}
where:
${USERNAME}
is your Vetlog username${PASSWORD}
is your Vetlog password${YOUR_APPLITOOLS_API_KEY}
is something like:Ag4hfEVDIMykuCpWk61ppg3VJ9fkK0uht100HXnvGPlag220
(Check with your service provider if you do not have it)
Note
If you are using Windows based platform:
$Env:APPLITOOLS_API_KEY="YOUR_APPLITOOLS_API_KEY"
where:
${apiKey}
Is your Applitools api key