-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
CTIssue related to component testingIssue related to component testing
Description
Current behavior
There is an error opening cypress component testing if the source root folder is not called "src"
In my case the "src" folder is named "ui"
The sourceRoot folder setting is updated in angular.json to reflect the folder name.
"root": "", "sourceRoot": "ui", "prefix": "app",
When I open cypress and go to component testing, I get the following error. I can reproduce this on a brnad new angular application.
Desired behavior
No response
Test code to reproduce
Brand new angular app.
Change name of "src" folder to "ui"
update angular.json sourceRoot setting
open cypress
goto component tests
Cypress Version
11.2.0
Node version
16.15.0
Operating System
macOS 12.5.1
Debug Logs
No response
Other
No response
Metadata
Metadata
Assignees
Labels
CTIssue related to component testingIssue related to component testing