-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytype: bug
Milestone
Description
- Operating System: Windows 10
- Cypress Version: 1.1.0
- Browser Version: Chrome
Is this a Feature or Bug?
Bug
Current behavior:
When using .type() on tel inputs with masks, the numbers are entered out of order. That is, digits are added to the end of the field when they meet a special character.
Desired behavior:
The digits are entered into the field in order.
How to reproduce:
Call .type() on a tel input field with an input mask that provides hyphens, parentheses, or other formatting
Test code:
cy.get("#PrimaryPhone").type("1234567890").should('have.value', "(123) 456-7890")
//The above expected output is based on the input mask used by my application.
//Your mileage may vary.
Additional Info (images, stack traces, etc)
bhellman1, tamlyn, peterchappy, sompylasar, rmdrabach and 6 morebhellman1, tamlyn, peterchappy, phellipeandrade, ingiulio and 1 more
Metadata
Metadata
Assignees
Labels
pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytype: bug