To get the frontend running locally:
- Clone this repo
yarn install
to install all req'd dependenciesyarn serve
to start the local server
To integrate cypress-cucumber-preprocessor in @vue/cli project need to follow below mention steps.
"testFiles":"**/*.feature",
"integrationFolder": "tests/e2e/specs"
const cucumber = require( 'cypress-cucumber-preprocessor' ).default;
module.exports = (on, config) => {
on( 'file:preprocessor', cucumber());
return Object.assign({}, config, {
fixturesFolder: 'tests/e2e/fixtures',
integrationFolder: 'tests/e2e/specs',
screenshotsFolder: 'tests/e2e/screenshots',
videosFolder: 'tests/e2e/videos',
supportFile: 'tests/e2e/support/index.js'
})
}
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": false,
"stepDefinitions": "tests/e2e/specs"
}
yarn test:e2e
yarn build