Skip to content

v2.0.0

Compare
Choose a tag to compare
@Robdel12 Robdel12 released this 02 Aug 20:36
· 340 commits to master since this release

What is this?

v2.0.0 of the @percy/cypress brings major improvements to the reliability of the SDK. If you were experiencing issues with the health check failing (like #104), this should solve those problems.

Upgrading

With this change, you will now need to import this new task into your projects plugins (cypress/plugins/index.js) file. Without that, the SDK will not work.

/// In cypress/plugins/index.js
let percyHealthCheck = require('@percy/cypress/task')

module.exports = (on, config) => {
  // `on` is used to hook into various events Cypress emits
  // `config` is the resolved Cypress config
  on("task", percyHealthCheck);
};