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

Firefox: cant input text in input field with type="email" #1187

Closed
dwasilew opened this issue Jan 30, 2017 · 3 comments
Closed

Firefox: cant input text in input field with type="email" #1187

dwasilew opened this issue Jan 30, 2017 · 3 comments
Labels
AREA: client BROWSER: Firefox !IMPORTANT! STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: automations TYPE: bug The described behavior is considered as wrong (bug).
Milestone

Comments

@dwasilew
Copy link

Are you requesting a feature or reporting a bug?

reporting a Bug

What is the current behavior?

If running test with Firefox 51.0 input fields with type email can't be set. Instead the following error occurs:

Uncaught object "[object Object]" was thrown. Throw Error instead.

Chrome and Opera are working as expected. When changing type="email" to type="text" also Firefox works.

What is the expected behavior?

Input text in input with type "email" without an error

How would you reproduce the current behavior (if this is a bug)?

i attached a input-test.tar.gz based on one of your examples.

  • extract
  • npm install
  • npm test

should be enough to get the error. When exchanging firefox with chrome in package.json the test runs fine

Specify your

  • operating system: Ubuntu 16.10
  • testcafe version: 0.12.1
  • node.js version: v4.2.6
@georgiy-abbasov
Copy link
Contributor

Hello Daniel ! Thanks a lot for report. We reproduced the issue and have found, that Firefox 51 doesn't allow to call method setSelectionRange for input elements, which type isn't text.
We are working on it, i'll let you know, when it'll be fixed.

@georgiy-abbasov
Copy link
Contributor

Hi Daniel! We have fixed this issue in our new version (it's with alpha tag now). Please check whether the fix works with your site. To install fix, run:

npm install testcafe@alpha.

@lock
Copy link

lock bot commented Mar 29, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

@lock lock bot added the STATE: Auto-locked An issue has been automatically locked by the Lock bot. label Mar 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AREA: client BROWSER: Firefox !IMPORTANT! STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: automations TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

3 participants