Skip to content

hungndv/playwright01

Repository files navigation

playwright01

Install on Ubuntu

Install Node Version Manager (nvm)

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

Important: CLOSE AND REOPEN TERMINAL to recognize the nvm command

Install Node.js

nvm install v20.17.0
# Upgrade the latest npm for node
nvm install-latest-npm

Install playwright

npm install -D @playwright/test@latest
# Also download new browser binaries and their dependencies
npx playwright install --with-deps
# check version
npx playwright --version

Install packages from project root

npm install

Run test

npx playwright test ./tests --project="Google Chrome"

Notes:

  • .env file contains TEST_PLAN_ID to run test cases, which can be un-run/failed

Issues:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors