- installed node v22 and npm. I recommend using NVM to manage node versions.
Clone this repo and execute:
npm install
Then install VSC with recommended extensions and open this repository in it. VSC recommended extensions
- ms-playwright.playwright
- dbaeumer.vscode-eslint
- pkief.material-icon-theme
- streetsidesoftware.code-spell-checker
- mattpocock.ts-error-translator
After installation your VSC testing tab should look like this:
To check if linter works properly open this file: tests/example.spec.ts
To check:
- Auto format on save
- Properly linting Playwright tests files
- Running PW tests is possible.
- Debugging PW tests in possible.