Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

allow hidden (display:none) fields to be filled with field widgets #71

Open
samccone opened this Issue · 6 comments

2 participants

@samccone
Collaborator

No description provided.

@david
Owner

This is already possible by using something like

root 'selector', visible: false

however, I'm not sure if you want to do this. If a user can't see the field to fill it in, you shouldn't probably fill it in in the tests. I'd advise doing whatever the user needs to do to fill in the field instead.

@david david closed this
@samccone
Collaborator

well this is for a wysiwyg field where it is set to content editiable and then it pipes the content into a textfield, the text field acts as a hidden backing element. And since there is no way to edit a contenteditable div this is how i must do it.

@david
Owner

Did you try editing the capybara node directly using node.set <content> ?

@samccone
Collaborator

yes, that is exactly how i ended up doing it, just a touch ugly

@david
Owner

I'll see if I can come up with something nicer.

@david david reopened this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.