We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When writing the following code, an error displays saying cy.type can't be used on the specified input with type="phone"
type="phone"
###Example Code
cy.type('[type="phone"]').type('1234567')
###Error
CypressError: .type() can only be called on textarea or :text!
It needs to be whitelisted to allow typing into similar to types text, search, url, etc.
The text was updated successfully, but these errors were encountered:
phone is not a valid input type in html, tel is valid. If you are able, update your html: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel
phone
tel
That being said, many users have asked us to loosen our validation logic, which is being tracked in this issue: #586
Sorry, something went wrong.
No branches or pull requests
When writing the following code, an error displays saying cy.type can't be used on the specified input with
type="phone"
###Example Code
###Error
It needs to be whitelisted to allow typing into similar to types text, search, url, etc.
The text was updated successfully, but these errors were encountered: