This function must be called in cypress/plugins/index.js like:
cypress/plugins/index.js
module.exports = (on, config) => { autoStubSetup(on, { // Pass in global settings here }) }
You can also optionally pass in a globalSettings object , to configure sensible defaults for your application.
globalSettings
a handle the Cypress plugin events from cypress/plugins/index.js
globally defined settings
Generated using TypeDoc
This function must be called in
cypress/plugins/index.js
like:module.exports = (on, config) => { autoStubSetup(on, { // Pass in global settings here }) }
You can also optionally pass in a
globalSettings
object , to configure sensible defaults for your application.