Cypress Cucumber Issue.
See original GitHub issueHi, While running cypress cucumber feature file with Cypress 7.5 version below error is displayed.
Error: Webpack Compilation Error
./cypress/integration/Google.feature 1:16
Module parse failed: Unexpected token (1:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> Feature: Google Main Page
|
| I want to open a search engine
I followed the below steps. https://github.com/TheBrainFamily/cypress-cucumber-preprocessor https://www.npmjs.com/package/cypress-cucumber-preprocessor
Let me know any changes are required?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11
Top Results From Across the Web
Issues · badeball/cypress-cucumber-preprocessor - GitHub
Run cucumber/gherkin-syntaxed specs with Cypress. Contribute to badeball/cypress-cucumber-preprocessor development by creating an account on GitHub.
Read more >cypress-cucumber-preprocessor - npm
The cypress-cucumber-preprocessor adds support for using feature files when testing with Cypress. You can follow the documentation below, ...
Read more >cypress-cucumber-preprocessor does not parse feature files
I was having the same issue and it was because I had installed an old version of the package. Here's what you need...
Read more >Testing using Cypress and Cucumber in JavaScript
In this case, we'll create a Cucumber Test, of Cucumber Type "Scenario." We can fill out the Gherkin statements immediately on the Jira...
Read more >Plugins - Cypress Documentation
Run cucumber/gherkin-syntaxed specs with cypress.io. #file-watcher#cucumber ... Helps test your applications for accessibility issues using axe-core.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Add below code in ‘cypress/plugins/index.js’ file. This worked for me.
const cucumber = require(‘cypress-cucumber-preprocessor’).default module.exports = (on, config) => { on(‘file:preprocessor’, cucumber()) }
npm i cypress-cucumber-preprocessor run this again and check ur package.json should have this dependency