refactor(Cypress): installed cypress-cucumber-preprocessor and writed a feature file and it's cycode
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
// You can read more here:
|
||||
// https://on.cypress.io/plugins-guide
|
||||
// ***********************************************************
|
||||
const cucumber = require('cypress-cucumber-preprocessor').default
|
||||
|
||||
// This function is called when a project is opened or re-opened (e.g. due to
|
||||
// the project's config changing)
|
||||
@@ -19,4 +20,5 @@
|
||||
module.exports = (on, config) => {
|
||||
// `on` is used to hook into various events Cypress emits
|
||||
// `config` is the resolved Cypress config
|
||||
on('file:preprocessor', cucumber())
|
||||
}
|
||||
|
Reference in New Issue
Block a user