Application navigated using cy.origin is not able to open the page that appends dynamic key params to it #33178
Unanswered
varikaurtest
asked this question in
Questions and Help
Replies: 0 comments
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.
-
I am automating a flow that involves 2 applications (both on different origins). I generated some data on application 1 and now want to validate the same in application 2, thus navigated to new using cy.origin
function login(username: string, password: string) {
cy.visit('/')
cy.origin('https://***//', {args: {username, password }}, ({username, password}) => {
}
In the same application2, I am able to perform various actions by calling the POM methods where the URL is static pages e.g. /payments or /search etc except at one click where the URL adds dynamic hostKey and other details to its URL. Observed that the URL is not changing on the click and the page remains in loading state forever.
Has anyone faced and solved this issue, please confirm.
Beta Was this translation helpful? Give feedback.
All reactions