Skip to content

pajdekPL/playwright-basic-setup

Repository files navigation

Playwright basic setup

Requirements

  • 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: VSC Playwright Test Tab

To check if linter works properly open this file: tests/example.spec.ts

To check:

  1. Auto format on save
  2. Properly linting Playwright tests files
  3. Running PW tests is possible.
  4. Debugging PW tests in possible.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published