You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though it's possible to set something like dependencies: {"cypress-allure-snapshots-example": "github://Shelex/cypress-allure-snapshots-example"} in package.json, there are few issue with that:
The file needs to be pre-processed or import statements should be replaced by require
Relative paths need to become configurable
state.error && state.error.message === "Snapshot images do not match." should probably become optional if users decide to always include screenshots
The text was updated successfully, but these errors were encountered:
Looks like the code in https://github.com/Shelex/cypress-allure-snapshots-example/blob/master/cypress/support/index.js can be used in other projects by simply requiring it there.
Even though it's possible to set something like
dependencies: {"cypress-allure-snapshots-example": "github://Shelex/cypress-allure-snapshots-example"}
inpackage.json
, there are few issue with that:import
statements should be replaced byrequire
state.error && state.error.message === "Snapshot images do not match."
should probably become optional if users decide to always include screenshotsThe text was updated successfully, but these errors were encountered: