https://github.com/josdem/playwright-applitools
Playwright Applitools integration workshop
https://github.com/josdem/playwright-applitools
applitools javascript nodejs playwright prettier
Last synced: 3 months ago
JSON representation
Playwright Applitools integration workshop
- Host: GitHub
- URL: https://github.com/josdem/playwright-applitools
- Owner: josdem
- License: apache-2.0
- Created: 2023-06-10T23:19:35.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T20:51:41.000Z (almost 3 years ago)
- Last Synced: 2025-03-10T20:47:57.607Z (over 1 year ago)
- Topics: applitools, javascript, nodejs, playwright, prettier
- Language: HTML
- Homepage: https://josdem.io/techtalk/ux/playwright_applitools_integration/
- Size: 358 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Playwright Workshop
[](https://github.com/prettier/prettier)
[](https://playwright.dev/)
This is a getting started project with [Playwright](https://playwright.dev/)
#### Requirements
- [NodeJS](https://nodejs.org/en/) version `v18.16.0`
**Note:** I recommed to use [NVM](https://github.com/nvm-sh/nvm) to manage NodeJS versions
#### To build the project
```bash
npm install
```
#### To format the project
```bash
npx prettier --write .
```
#### To run lint validation
```bash
npm run lint
```
#### To run the project
```bash
npx playwright test --project chromium
```
#### To see integrated reports
```bash
npx playwright show-report
```
#### Setting up environment
```bash
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:
```bash
$Env:APPLITOOLS_API_KEY="YOUR_APPLITOOLS_API_KEY"
```
where:
- `${apiKey}` Is your Applitools api key