Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.23 KB

README.md

File metadata and controls

64 lines (40 loc) · 1.23 KB

Playwright Workshop

code style: prettier Playwright

This is a getting started project with Playwright

Requirements

Note: I recommed to use NVM to manage NodeJS versions

To build the project

npm install

To format the project

npx prettier --write .

To run lint validation

npm run lint

To run the project

npx playwright test --project chromium

To see integrated reports

npx playwright show-report

Setting up environment

export APPLITOOLS_API_KEY=${YOUR_APPLITOOLS_API_KEY}

where:

  • ${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