Skip to content

druoid/playwright-automation

Repository files navigation

Purpose

This project showcases playwright UI automation examples using test cases from https://automationexercise.com/test_cases

Getting the Latest Code

To get the latest code open your IDE terminal and navigate to where you would like the project to reside (usually a dev folder) and run git clone https://github.com/druoid/playwright-automation.git

Setting Up the Environment

To run playwright tests locally, your system must have node installed

  1. In a terminal install NVM (Node version manager) with curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
  2. Restart terminal, then install Node.js by running the following command nvm install node # latest version
  3. Verify npm is installed by running the following command npm -v # Should return the npm version

Running the Tests

  1. In your IDE's terminal navigate to the root of the project
  2. Run npm install to install dependencies
  3. Run npx playwright test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published