cypress-bdd

0.0.1 • Public • Published

cypress-bdd

This repo is a combination of the cypress-cucumber-preprocessor plugin for Cypress and some pre defined When, Then and Given commands.

Installation

Your existing project will still need to have the latest version of Cypress installed. Then you can install this package as a dev dependency.

npm install @tixel/cypress-bdd --save-dev

Then your Cypress config should look something like this:

const { defineConfig } = require('cypress');

module.exports = defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      return require('cypress-bdd')(on, config);
    },
    specPattern: 'cypress/e2e/**/*.feature',
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i cypress-bdd

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

2.08 kB

Total Files

5

Last publish

Collaborators

  • ianjamieson