Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.89 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.89 KB

Applitools Example: Playwright in TypeScript

This is the example project for the Playwright TypeScript tutorial. It shows how to start automating visual tests with Applitools Eyes and Playwright in TypeScript.

It uses:

It can also run tests with:

To run this example project, you'll need:

  1. An Applitools account, which you can register for free
  2. A recent version of Node.js
  3. A good TypeScript editor like Visual Studio Code

To install dependencies and set up Playwright, run:

npm install
npx playwright install

The main test case spec is acme-bank.spec.ts. By default, the project will run tests with Ultrafast Grid. You can change this setting in the test spec.

To execute tests, set the APPLITOOLS_API_KEY environment variable to your account's API key, and then run:

npm test

For full instructions on running this project, take our Playwright TypeScript tutorial!