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.