Skip to content
New issue

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

cy.type() into email input gives error #504

Closed
jennifer-shehane opened this issue May 18, 2017 · 4 comments
Closed

cy.type() into email input gives error #504

jennifer-shehane opened this issue May 18, 2017 · 4 comments
Assignees
Labels
pkg/driver This is due to an issue in the packages/driver directory type: bug
Milestone

Comments

@jennifer-shehane
Copy link
Member

jennifer-shehane commented May 18, 2017

  • Operating System: OSX
  • Cypress Version: 0.19.2

Are you requesting a feature or reporting a bug?

Bug

Current behavior:

The Kitchen Sink currently fails on cy.type() into email input with this error:

Error: Failed to execute 'setSelectionRange' on 'HTMLInputElement': 
The input element's type ('email') does not support selection.

Suspect it is related to Chrome Version 58.0.3029.110

How to reproduce the current behavior:

Test code:

Kitchen Sink Example

cy.get('.action-email').type('fake@email.com').clear()
cy.type('{leftarrow}{rightarrow}{uparrow}{downarrow}{del}{selectall}{backspace}')

Additional Info (images, notes, stack traces, etc)

screen shot 2017-05-18 at 9 50 03 am

@jennifer-shehane jennifer-shehane added type: bug pkg/driver This is due to an issue in the packages/driver directory labels May 18, 2017
@ddeath
Copy link

ddeath commented May 31, 2017

The same is happening to me on Google Chrome Version 60.0.3112.7 (Official Build) dev (64-bit) on Electron the test are working fine

cyp_bug

@brian-mann
Copy link
Member

This is fixed in our next release 0.20.0

@RandallKent
Copy link
Contributor

The code for this is done, but this has yet to be released. We'll update the issue and reference the changelog when it's released.

@brian-mann
Copy link
Member

Fixed in 0.20.0

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pkg/driver This is due to an issue in the packages/driver directory type: bug
Projects
None yet
Development

No branches or pull requests

5 participants