fileServerFolder option is being used incorrectly
See original GitHub issueFirst off, I would like to show my appreciation for this project, it’s something that I’ve been looking for for a while now, and I’m glad you open sourced it!
The issue is that the fileServerFolder
option is being used incorrectly to look for step definitions, when it actual use case is to allow cypress
to start a local http static assets folder from this path.
I’ve created a PR here #17
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:15 (2 by maintainers)
Top Results From Across the Web
fileServerFolder option is being used incorrectly #16 - GitHub
The issue is that the fileServerFolder option is being used incorrectly to look for step definitions, when it actual use case is to...
Read more >Configuration - Cypress Documentation
This file is used to store any configuration specific to Cypress. ... Configuration might include experimental options currently being tested.
Read more >Powershell Restore going to wrong drive letter - TechNet - Microsoft
When it goes to restore filesystem data the restoration path chooses the wrong drive letter. However, when I use the same script to...
Read more >Configurations in Cypress and How to Disable Default ...
How to use a customized file as a configuration file in Cypress? Now we have seen multiple options to override different configurations. However ......
Read more >cypress-io/cypress - Gitter
node_modules/.bin/cypress open is to use just cypress.json . ... but I've been asked to set using cypress.json after running Cypress without --env parameter ......
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
@lgandecki sure, the default path of installation of cypress is in the root of the project, but for me, that default doesn’t match my current scaffolding. This is directory structure:
So, in my case, i don’t want to keep a cypress folder polluting the root of the project. But, this plugin has the directory /cypress/support/ hardcoded, so, what i try was just to make this module to be aware of the custom directory cypress folder.
But, if we can add to cypress.json a specific value to our step_definition folder, that should be great.
Another way is adding a custom config to the package.json file adding the route of our step definition files.
quick update - if the cypress guy don’t reply by the middle of next week I will implement it in cypress.json with the syntax proposed by @reaktivo