Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 1.3 KB

README.md

File metadata and controls

62 lines (44 loc) · 1.3 KB

🎭 Test automation with Playwright & Mocha

Howto run end-to-end testing with Playwright & Mocha

asciicast

Prerequisite

Initalize the project

  • Clone this project
git clone https://github.com/yyvess/playwright-mocha.git
cd playwright-mocha
  • Run npm install to download project dependancies
npm install

Usage

Run tests on headless mode with Chromium

npm test

Run test on headless mode with Firefox

npm run test:firefox

Run tests on 'head' mode

Run tests with browser visible

npm run test:head

Run tests with watch mode

Rerun tests on file changes.

npm run test:watch

Run your test on Github Actions

main.yml

Record your tests

External documentation