- Operating System: Mac
- Cypress Version: 0.19.4
- Browser Version: Chrome
Is this a Feature or Bug?
Enhancement
Current behavior:
If I write a test:
cy.get('input').clear().type('Jane')
After the .clear(), Cypress blurs off the input, then attempts to click back onto the input at the beginning of the type.
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.
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.