/learn-playwright

Learning playwright following tutorial from test automation university

Primary LanguageJavaScript

Note

This is created based on Playwright course from Test Automation University by instructor Ixchel Meza

Setup

Download nodejs + how to install nodejs

Execute in terminal:

npm init -y

npm i -D playwright

npm install -D jest

npm i -D @applitools/eyes-playwright

Run tests written in page-object-model

npm test

! In order for jest to ignore other test files (from tests folder), updated package.json:

 "jest":{
    "testPathIgnorePatterns":["/tests/"]
  },

Resources

Tools

Documentation

Free websites for UI testing

Extra tool:

Playwright CLI:

npx playwright codegen

After launching Playwright Inspector => choose Library (in order to generate js code)