Cannot Type a single space using .type(" ")
See original GitHub issueCurrent behavior:
cy.get([some_object]).type(" ")
results in the following in the console:
CypressError: cy.type() cannot accept an empty String. You need to actually type something.
Desired behavior:
cy.get([some_object]).type(" ")
causes a single space to be typed in [some_object]
How to reproduce:
cy.get([some_object]).type(" ")
Test code:
cy.get([some_object]).type(" ")
Additional Info (images, stack traces, etc)
- Operating System: Windows 10
- Cypress Version: Beta Version 1.0.2
- Browser Version: Chrome 61
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Cannot type a space at the end of last line | WordPress.org
Workaround: paste or type a word, move the cursor to the start of the word, type a space – delete any nonsense text...
Read more >Single line spacing setting is not working - Microsoft Community
The answer I found for my single line spacing question was "click Design/Paragraph Spacing/ and choose "No paragraph space".
Read more >Space bar not working in form fields - Stack Overflow
The contact form is acting very strange. I cannot enter space in any of the contact fields. I'm using the following jQuery plugins:...
Read more >"Why won't Word single-space my text?" - YouTube
It's one of the most frequent distress calls I get from Word users - that stubborn extra space between paragraphs even when the...
Read more >How do you change to single-spacing when typing something?
Solved: When I type in a module, it double-spaces. ... your user's choice of browsers (or smartphones!) while using Canvas--there are often ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yah, if there wasn’t an issue opened it will not ever get looked at. Thank you for opening this.
Hello, I have a similar issue with forward slashes and semi-colons. I’m trying to fill in date and time and my input looks like this for ex: 2019/4/18 10:11. My code looks something like
Can someone look into this?