iFrame elements that focus, when calling .type()
are actually blurred (when Test Runner is not focused)
#8111
Labels
.type()
are actually blurred (when Test Runner is not focused)
#8111
Current behavior:
Currently if you load a page that has an iFrame, and that iFrame has an input that you programmatically
focus
, attempting to focus via Cypress testing causes the input to blur instead.Desired behavior:
When focusing on an input that is already focused, a blur should not occur; it should remain focused.
Test code to reproduce
cypress-io/cypress-test-tiny#61
Versions
macOS Catalina, version 10.15.5
Chrome version 84.0.4147.89
Cypress package version: 4.10.0
Cypress binary version: 4.10.0
The text was updated successfully, but these errors were encountered: