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
Importing an angular component into a test file, when the component folder name starts with a "+" symbol, is not possible.
Desired behavior
Cypress imports components that have the "+" symbol at the start of the containing folder name.
Test code to reproduce
Create a new Angular 15 project.
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
Cypress Version
13.9.0
Node version
v16.18.1
Operating System
Windows 10.0.19045 Build 19045
Debug Logs
No response
Other
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. I also use Chrome 124:
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:
bobige
changed the title
CT: cypress doesn't recognize "+" symbol in the path to the component
CT: cypress doesn't recognize "+" symbol in the path to the Angular component
May 9, 2024
Current behavior
Importing an angular component into a test file, when the component folder name starts with a "+" symbol, is not possible.
Desired behavior
Cypress imports components that have the "+" symbol at the start of the containing folder name.
Test code to reproduce
Cypress Version
13.9.0
Node version
v16.18.1
Operating System
Windows 10.0.19045 Build 19045
Debug Logs
No response
Other
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. I also use Chrome 124:
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: