How to use the cypress-cucumber-preprocessor.given 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 TheBrainFamily / cypress-cucumber-preprocessor / cypress / support / step_definitions / basic.js View on Github external
const { given, when, then } = require("cypress-cucumber-preprocessor"); // eslint-disable-line

given("a feature and a matching step definition file", () => {
  expect(true).to.equal(true);
});

when("I run cypress tests", () => {
  expect(true).to.equal(true);
});

then("they run properly", () => {
  expect(true).to.equal(true);
});