How to configure Cucumber-Preprocessor + Allure report in index.js plugins in cypress

Asked

Viewed 28 times

0

all right? How I should set up index.js to use Cucumber-Preprocessor + Allure report?

My index.js file looks like this:

//cucumber-preprocessor
const cucumber = require('cypress-cucumber-preprocessor').default

module.exports = (on, config) => {
  on('file:preprocessor', cucumber())
}

//allure report
module.exports = (on, config) => {
    on('file:preprocessor', webpackPreprocessor);
    allureWriter(on, config);
    return config;
};

What is the correct way to configure it? If anyone can exonerate besides telling the setup, I’d be grateful. In the articles I found it was not clear how it should be.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.