-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Cannot type into field #1528
Comments
Can you paste the HTML code of the input you're trying to type into? |
@jennifer-shehane oh yeah, I've completely forgotten it :) <div class="Checkout__fieldRow___vzW2S">
<div class="Checkout__labelCol___2Y_f1"><label for="birth_date">Date of birth</label></div>
<div class="Checkout__fieldCol___1zvrt">
<div class="FieldGroup__DatePickerGroup___3BZyo form-group"><input name="passengers[0].birth_date" class="FieldGroup__customFieldSm___12eZY" placeholder="DD-MM-YYYY" value=""><label for="passengers[0].birth_date" class="FieldGroup__placeholder___3SZMc">DD-MM-YYYY</label></div>
</div>
</div> |
Yeah, so I believe that this error is displaying because you haven't defined a Reading the HTML spec, they suggest that if no
Workaround: Add a Permanent Fix: Cypress should treat any input with no
|
Hello.. can I please work on this issue? |
Ok, so I probably should have tested my theory first before rambling off a solution. The missing @hypeofpipe Could you tell me what |
@jennifer-shehane It is fixed by adding a type to it. Nevertheless, I think Cypress should give the opportunity to type in those fields (with a null type). |
This should be fixed as of 3.0.3 along with #1241, as we read of the |
Operating System: Solus 3.999 shannon
Cypress Version: 2.1.0
Browser Version: Electron 59
Is this a Feature or Bug?
This is a bug.
Current behavior:
I have an input field:
I get the error:
Desired behavior:
This is an input element, so I would expect the input to be entered.
How to reproduce:
Create an input, and try type().
Test code:
The text was updated successfully, but these errors were encountered: