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

fill_in "field" with: "" does not clear text input #22

Open
andrewhao opened this issue Feb 16, 2018 · 0 comments
Open

fill_in "field" with: "" does not clear text input #22

andrewhao opened this issue Feb 16, 2018 · 0 comments

Comments

@andrewhao
Copy link
Contributor

andrewhao commented Feb 16, 2018

Summary

Oftentimes, when you want to clear a text field, you'll use the following Capybara DSL:

fill_in "name", with: ""

Meaning, "hey, clear the name field".

Expected:

Field clears out

Observed:

Field keeps old value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant