1.2.0 • Published 2 years ago

vue-cli-plugin-e2e-playwright v1.2.0

Weekly downloads
165
License
ISC
Repository
github
Last release
2 years ago

NPM Downloads NPM Version Open Issues CI

vue-cli-plugin-e2e-playwright

Vue CLI plugin for e2e testing with Mocha and Playwright.

Installing

vue add e2e-playwright

Running

Run yarn test:e2e or npm run test:e2e to run your end-to-end tests.

Changes to your project

  • Adds vue-cli-service test:2e2 to package.json scripts
  • Sets Mocha as global variable in eslint in the *.spec.js files inside tests/e2e in package.json
  • Adds Chai and Playwright as dev dependencies in package.json
  • Creates example e2e test in tests/e2e/example.spec.js

Features

Options

// options
--timeout     test timeout in ms, default 90000
--url         url to test, it will not start the dev server
--browser     define browser to run tests (chromium, firefox, webkit),
              default chromium

Check more options for Mocha.

1.2.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.3.11

3 years ago

0.3.10

3 years ago

0.3.9

3 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.0

4 years ago

0.3.1

4 years ago

0.2.0

4 years ago