Skip to content

v3.0.0

Compare
Choose a tag to compare
@bahmutov bahmutov released this 06 Apr 19:21
· 555 commits to master since this release
57bbc6b

3.0.0 (2020-04-06)

Features

  • set flag from plugins task that they were registered (#180) (288b61d)

BREAKING CHANGES

  • the task sets an environment variable and needs
    to return its config. The new registration thus looks like this
// your plugins file
module.exports = (on, config) => {
  require('@cypress/code-coverage/task')(on, config)
  // IMPORTANT to return the config object
  // with the any changed environment variables
  return config
}

Support code can check variable Cypress.env('codeCoverageTasksRegistered')
before calling cy.task

  • update readme

  • update examples

  • add small plugins file

  • update readme

  • add example using plugins and support

  • add new example to CI

  • no need to start server in the example