if chaining .clear() with .type(), do not issue 'blur', 'click', etc to input in between #593
Labels
pkg/driver
This is due to an issue in the packages/driver directory
type: enhancement
Requested enhancement of existing feature
Milestone
Is this a Feature or Bug?
Enhancement
Current behavior:
If I write a test:
After the
.clear()
, Cypress blurs off the input, then attempts to click back onto the input at the beginning of thetype
.These events firing can cause some unexpected results when I'm essentially expecting the caret to clear the input and stay in the input to then type.
Desired behavior:
If
.clear()
is followed with.type()
, keep the caret in the input and do not fire the events to blur the input after clear and click on the input at the start of type.The text was updated successfully, but these errors were encountered: