0.1.5 • Published 4 years ago

vue-cli-plugin-jest-puppeteer v0.1.5

Weekly downloads
948
License
MIT
Repository
github
Last release
4 years ago

vue-cli-plugin-jest-puppeteer

In development!

This plugin configures your project with everything necessary to write E2E tests using Jest and Puppeteer:

  • adds jest, jest-puppeteer and puppeteer as dev-dependencies
  • adds the necessary config files
  • setups babel to support ES6 modules in the E2E test files
  • adds the test:e2e command to the package.json
  • adds a sample E2E test

Installation

Run the following command from your project's root folder: vue add jest-puppeteer

Adding the plugin will update your project as in:

Options (In development!)

  • e2e test folder location
  • package.json command name

Usage

Once installed, run the tests with npm run test:e2e.

Feel free to update the default settings