Skip to content

Vue CLI 3 plugin for setting up E2E tests with jest and puppeteer

License

Notifications You must be signed in to change notification settings

kaizendorks/vue-cli-plugin-jest-puppeteer

Repository files navigation

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

About

Vue CLI 3 plugin for setting up E2E tests with jest and puppeteer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published