-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 incorrectly using Window.length as subject length #4397
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test?
I added iframes to the test fixture as a test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, we already have a test that calls cy.window().focus()
, etc, but there's nothing guaranteeing that these iframes remain present in the DOM.html file, someone could delete them out if they 'think' there's no tests involving iframes in our suite.
Can you add an assertion in that test that's more explicit to assert the iframes are present and the cy.window().focus()
doesn't fail? Looks good otherwise.
@jennifer-shehane agreed, should be much better now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay! Much better 💯
Maybe a legitimate failure?
|
fix #4396