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
is there a specific command to scaffold the angular ct Project (13|14|15)? I think there is supposed to be a way to automatically copy the fixtures folder into the projects.
if someone could point me in the right direction, I will create the MR for my issue.
Saw #25807 was in 12.7. It touches some of the same code. Was this a regression introduced in 12.7 or a pre-existing bug?
To scaffold Cypress CT, you just run npx cypress open in your Angular project and hit Component Testing - it should do the rest for you. There's no CLI scaffolding at this point.
If you'd like to make a PR fixing the bug you've found, that'd be great! Something like:
clone this monorepo
yarn (takes a while...)
You could use this test and do systemTests.it.only to run just that one. cd system-tests && yarn test component_testing to run it.
It points to this project. You could change that to match your reproduction.
Update npm/angular to fix it. I think you can do yarn tsc -w in there to auto recompile the Angular mount function.
Current behavior
Angular components are correctly mounted into the div[data-cy-root] root element but they aren't respecting the div's original position.
component-index.html
the issue is caused by the following line of code
Desired behavior
The components should be mounted inside of
div data-cy-root></div>
and still keep it's original position.possible solution
update the following method
Test code to reproduce
Any angular app with CT setup. You just need to edit the component-index.html file.
<div data-cy-root></div>
add the root div inside another div.Cypress Version
12.7.0
Node version
v18.12.1
Operating System
ubuntu 22.04
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: