Will there be official support for cypress component testing with ionic angular apps and monorepo? #26977
Unanswered
ilsehaydee22
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've looked into another issue very similar to mine #24226
Where someone mentions that there isn't official Cypress support for ionic apps, I'm aware of that.
The main reason of why I wanted to create this discussion was to ask if cypress planned on giving official support to ionic apps since in the company where I work we are trying to implement component testing to our ionic angular app, and components don't render correctly by passing the component directly like: cy.mount(ExampleComponent). You have to pass in the html in order to render the component,
is the only workaround I've found so far thanks to the other issue where they mention this. We are trying to implement component testing on the company where I work, but we've been encountering different issues such as that one.
Another question I had for the cypress team was: in our company we have a monorepo with more that 3 angular apps. Applications are split into small libs (shared, features, UI, data access) for now we have plenty of tests with cypress e2e, but we wanted to implement component testing, but I've found very difficult to prepare "cy.mount" with all imports, services and more, so that it works and mounts the component , since our components are very very big and involves a lot of dependencies. , at the moment I could not make the test work nor mount the component. Do you find convenient using this kind of testing our should we stick to e2e
Beta Was this translation helpful? Give feedback.
All reactions