Angular E2E Production Builds #25927
Unanswered
Nico-VanHaaster
asked this question in
Questions and Help
Replies: 1 comment 1 reply
-
I found the config flag experimentalModifyObstructiveThirdPartyCode: true Adding this seems to have changed things. Not sure what it does but will see if this fixes things. I guess one thing we do have is azure based authentication which may launch these frames. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am very new to Cypress so please be gentle.
The issue I am having is that when I run my E2E tests using the Angular Dev Server then the tests seem to work fine.
However when pointing to our production environment the visit(..) loads the page but does not seem to work with our angular routing.
For example here would be the process
This works fine in the dev environment however in a production environment (build). After step 2 nothing happens, I have seen that our Angular Guard does fire and cause the redirect, however the component that completes step 3 does not get constructed.
Our configfuration is nothing more than the out of the box configuration with a single cy.visit() statement.
Beta Was this translation helpful? Give feedback.
All reactions