You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
We're writing some tests to check the operation of a site using codemirror. We're using capybara webkit, but it's not clear how to simulate entering text into the editor.
I've found some mention of a solution online that involves making an editor variable global which feels like a bit of a hack:
Unfortunately, we haven't implemented send_keys in capybara-webkit yet. It should be possible using QtWebkit, but we haven't gotten around to it. You could use the selenium driver for those tests for now.
We're writing some tests to check the operation of a site using codemirror. We're using capybara webkit, but it's not clear how to simulate entering text into the editor.
I've found some mention of a solution online that involves making an editor variable global which feels like a bit of a hack:
http://stackoverflow.com/questions/30376526/fill-in-editor-textarea-using-capybara-webkit
Does anyone know of a good way we can use to enter code into codemirror using Capybara Webkit or similar that's a bit less hacky?
The text was updated successfully, but these errors were encountered: