commonPath property doesn't work
See original GitHub issueI want to change the name of common folder to steps folder;
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true,
"commonPath" : "cypress/integration/steps",
}
It doesn’t work
Issue Analytics
- State:
- Created 4 years ago
- Comments:11
Top Results From Across the Web
commonPath property doesn't work · Issue #213 - GitHub
I want to change the name of common folder to steps folder; "cypress-cucumber-preprocessor": { "nonGlobalStepDefinitions": true, "commonPath" ...
Read more >Macrodef attribute doesnt change its value - Stack Overflow
1 Answer 1 · @{attribute} - can change with every execution of a macrodef · ${property} - are always set and fixed once...
Read more >pathlib — Object-oriented filesystem paths — Python 3.11.1 ...
Pure path objects provide path-handling operations which don't actually access a filesystem. ... Pure paths provide the following methods and properties:.
Read more >Common Path Patterns - Inspired Python
Listing all the files in the current directory ... The easiest method is with Path.iterdir : >>> list(Path('/home/inspiredpython/')) [PosixPath('.bashrc'), ...].
Read more >Known issues for AWS Lake Formation
AWS Lake Formation removes any table property beginning with ... partitions are not under the location set in the parent table, data access...
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
Anyone is going to fix that issue? It is impossible to use this plugin with non-default folder structure (especially when you use monorepo like Nx).
I have the same issue, working on the example project https://github.com/TheBrainFamily/cypress-cucumber-example.
I have modified the name of the common steps folder to ‘common-steps’ and the configuration of
cypress-cucumber-preprocessor
in the package.json like this:When I execute the test, this is the error I get:
Error: Cannot find module 'cypress/integration/common-steps/I_see_STRING_in_the_title.js' from 'C:\Users\user\workspace\cypress-cucumber-example\cypress\integration\socialNetworks'
If I let the default folder name and the default value on that property, it works, but changing the name of the common steps folder and modifying the property results on that error.