"# to continue" issue while using cypress for website that uses Microsoft Dynamics #31079
Unanswered
TuranKh
asked this question in
Questions and Help
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
We are using cypress for E2E testing of our Web Applicaiton and have no issues with testing and automating it, it is perfect.
However, some functionality of our web application is done through Microsoft Dynamics, in order to cover whole flow of our application team is writing tests for that part of the application as well (By following this doc).
The flow is following, The User signs in to the Dynamics and executes actions while the results are checked both on our webpage and Dynamics Dashboard as well.
The issue described is happening after Cypress programmatically signs in to the Dynamics, which happens by doing these commands:
Our setup
Since the operations are done on several domains the
cy.origin
was used as suggested in hereRegarding to this issue on Dynamics Page, here is the issue on the Microsoft side and the solution that they suggest. This issue is reproduced on Chrome incognito mode as well, however accepting cookies as suggested in the support link solves the problem.
Even though the Cypress browser emulator also has that rule, "Allow third-party cookies" doesn't solve the issue for the emulator (and for headless mode). As one way to solve it, I can think of adding a user profile (with "Allow third-party cookies" rule enabled), however, there is an existing issue for that.
I simplified our
cypress.config.ts
while the bug is still reproducing.Image from cypress emulator
Beta Was this translation helpful? Give feedback.
All reactions