-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
path argument is required to res.sendFile leads to "No tests found" error #18607
Comments
Hey @dante-wisestep, have you found a fix? I am struggling with the same issue (using Cypress version 9.1.1), which also involves TypeScript. I have What i managed to debug in Cypress'es packages/server/lib/controllers/spec.js file is that the |
Unfortunetely I'm stuck as well. But thanks for your input! Eventually someone will figure it out I hope. |
Do you maybe use some plugin with I am now trying to use |
If someone could work on an isolated reproducible example, it would be easier for us to help - it's unclear what's causing the problem, and without being able to trigger it ourselves, it's hard to track down the issue or help you resolved it. If you can manage to reproduce the problem with a fork of https://github.com/cypress-io/cypress-test-tiny, or in any other publicly accessible repo, I'd be happy to take a look. As another note, Cypress 10.0 will contain some significant reworking of how test files are located and listed - when it's released, it may very well fix this issue. If we can track down the current problem in 9.x though, we can fix it and add tests to make sure it doesn't come back at a later date, so "it might be fixed in 10.0" doesn't mean we're ignoring 9.x - just a thought I had while reading through this. |
me too,use reply i resolve bug:at plugin/index.js const registerTasks = require('./plugins')
module.exports = (on, config) =>{
registerTasks(on, config)
+ return config
}; |
I just upgraded from 9 to 10 and started hitting this. I'm guessing there is something screwy with my config (it is pretty complicated...). |
Make sure that callback function for file:preprocessor returns correct result: Example with error:
Correct example:
Example with console.log:
|
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
This issue has been closed due to inactivity. |
Current behavior
After running
npx cypress open
(and starting tests) Cypress runner encounters error belowTerminal shows information:
Desired behavior
Cypress runner "sees" tests and lets me run them.
Test code to reproduce
In pursuit of solution I followed suggestions from issue nrwl/nx#1707, but workarounds stored there didn't do the trick. Some code:
cypress.json
package.json
Cypress Version
8.6.0
Other
No response
The text was updated successfully, but these errors were encountered: