We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
This appears to be a regression in 4.8. In 4.7 this functions as expected.
When targeting an Ionic web component like so:
cy.contains('ion-button', 'My Button').click()
The call to the click freezes the Cypress test runner. This appears to happen in Chrome 83, but seems to run fine in Firefox 75.
The click event should be fired on the targeted web component.
Repo here: https://github.com/elylucas/ionic-react-cypress-4.8-hang
npm run start
npx cypress open
Downgrading to 4.7 seems to run fine, even when targeting Chrome 83.
The text was updated successfully, but these errors were encountered:
@elylucas Thanks for providing a reproducible example!
Ionic uses Shadow DOM, and we did make some changes in 4.8.0 concerning Shadow DOM, albeit - all effects should have been isolated to setting the experimentalShadowDomSupport flag to true. #7469
But, my suspicions seem to be true in that some of the changes leaked out and is effecting your app even though you have not turned on the experimental feature.
Test passes on commit before Shadow DOM: 7597bf9
Test hangs on Shadow DOM commit: a7ff8fd
The test just hangs forever.
Sorry, something went wrong.
@chrisbreiding Can you take a look into this?
The code for this is done in cypress-io/cypress#7692, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
Released in 4.9.0.
This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v4.9.0, please open a new issue.
Successfully merging a pull request may close this issue.