How to use the cypress-cucumber-preprocessor.default function in cypress-cucumber-preprocessor

To help you get started, we’ve selected a few cypress-cucumber-preprocessor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LiskHQ / lisk-desktop / test / cypress / plugins / index.js View on Github external
module.exports = (on) => {
  on('file:preprocessor', cucumber());
};
github dpc-sdp / ripple / test / e2e / plugins / index.js View on Github external
module.exports = (on, config) => {
  on('file:preprocessor', cucumber())

  tideAdmin(on, config)

  config.env = {
    ADMIN_USERNAME: process.env.CYPRESS_ADMIN_USERNAME,
    ADMIN_PASSWORD: process.env.CYPRESS_ADMIN_PASSWORD,
    AUTH_USER: process.env.CONTENT_API_AUTH_USER,
    AUTH_PASS: process.env.CONTENT_API_AUTH_PASS,
    CONTENT_API_SERVER: process.env.CONTENT_API_SERVER
  }

  return config
}
github Sage / carbon / cypress / plugins / index.js View on Github external
module.exports = (on, config) => {
  on('file:preprocessor', cucumber());
  on('task', {
    log(message) {
      console.log(message);
      return null;
    },
  });
};
github TheBrainFamily / cypress-cucumber-preprocessor / cypress / plugins / index.js View on Github external
module.exports = on => {
  on("file:preprocessor", cucumber());
};