You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a component in a folder that has the "+" sign in front of it
Create a basic test file for the component and just mount it.
See error
Browser
Google Chrome 119
Device
PC
Mac
iPhone
iPad
Android Phone
Android Tablet
Additional Information
I am configuring Cypress to test Angular 15 components. We have a naming convention to put the "+" sign in front of the folder name, containing the component files. When I mount the component, cypress gives a "No tests found" error, which according to the documentation could be caused by a syntax error.
It is easily reproduceable. Create a new Angular 15 project and create a component in a folder that has the "+" sign in front of it:
If I remove the "+" sign or even change the naming to have a different special character, such as "_", it works:
The text was updated successfully, but these errors were encountered:
Description
Importing an angular component into a test file, when the component folder name starts with a "+" symbol, is not possible.
URL of Issue(s)
https://docs.cypress.io/guides/references/error-messages#No-tests-found
Steps to replicate
Browser
Google Chrome 119
Device
Additional Information
I am configuring Cypress to test Angular 15 components. We have a naming convention to put the "+" sign in front of the folder name, containing the component files. When I mount the component, cypress gives a "No tests found" error, which according to the documentation could be caused by a syntax error.
It is easily reproduceable. Create a new Angular 15 project and create a component in a folder that has the "+" sign in front of it:
If I remove the "+" sign or even change the naming to have a different special character, such as "_", it works:
The text was updated successfully, but these errors were encountered: