Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Initialize Cypress before secondary domain page loads #17262

Merged

Conversation

chrisbreiding
Copy link
Contributor

User facing changelog

n/a - This is work for multidomain, targeting a feature branch

Additional details

This is preliminary work, required for #16773, making it possible to override DOM properties and methods before the secondary domain AUT page loads.

@chrisbreiding chrisbreiding requested a review from a team as a code owner July 9, 2021 13:34
@chrisbreiding chrisbreiding requested review from flotwig and kuceb and removed request for a team July 9, 2021 13:34
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jul 9, 2021

Thanks for taking the time to open a PR!

cy.viewport(900, 300)
cy.visit('/fixtures/multidomain.html')
// @ts-ignore
cy.anticipateMultidomain()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a temporary measure to enable setting up the cross-domain bridge iframe. Once we tackle #17252, we'll look ahead to the cy.switchToDomain command and this will no longer be required.

@chrisbreiding chrisbreiding merged commit e1f3a43 into feature-multidomain Jul 12, 2021
@chrisbreiding chrisbreiding deleted the issue-16778-multidomain-window-before-load branch April 5, 2022 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants