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
fix: make visible children of display contents pass the should('be.visible') test #26818
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…e should('be.visible') test
|
bastiansmn
changed the title
Make visible children of display contents pass the should('be.visible') test
fix: make visible children of display contents pass the should('be.visible') test
May 21, 2023
…nts' into 25199-display-contents
@bastiansmn Thanks so much for this fix. I apologize for taking so long to get back with you. Can you please write a test for this update? You can create one similar to the test in this PR: #8130 Also, please pull in the latest from |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Make children of display contents that are visible pass the should('be.visible') test
display: contents
andoverflow: hidden
causes visibility check to fail #25199Additional details
This PR doesn't fix the fact that the element marked as
display: contents; overflow: hidden
is still not visible since it doesn't fit the visibility definition.See more with the related discussion
Steps to test
On a project with Cypress installed, insert an element with bugged-CSS properties.
Now with Cypress, test the following :
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?I actually don't think it's a user-facing change, but maybe we can add something to the documentation.
I also don't find any tests to the
driver
package.Since it is my first PR, can you tell me if I'm missing something ?