capybara-webkit Questions
7
How can I write a capybara integration test with a form using jquery.selectize?
I'd like to test a user entering a couple of values.
Augusto asked 29/4, 2014 at 17:55
2
Solved
I have a problem using actioncable with feature specs using Capybara-webkit. Actioncable is working perfectly on my development server, but when testing the javascript cant seem to connect.
This i...
Adala asked 26/1, 2017 at 14:9
7
I'm using capybara-webkit driver for my JS enabled tests. However when I try to fill in the form fields for the stripe checkout iframe, I'm not able to do it using the capybara fill_in helper in bo...
Inopportune asked 13/8, 2014 at 6:3
1
I have a problem with installation of capybara-webkit gem. Here is part of my test group in gemfile:
group :test do
gem 'capybara-webkit'
end
And when I write 'bundle' on console - it gives me o...
Kherson asked 24/5, 2021 at 15:19
3
The capybara method, wait_until doesn't seems to work for capybara-webkit. Is there any alternate solution for that, or any Javascript implementations?
Intentionally need some replacement for slee...
Pepsinogen asked 9/7, 2014 at 9:5
18
I have a Select2 element on a page that loads results via ajax. Would like to test this with capybara/rspec (using the poltergeist driver), but since the Select2 element actually starts out as a hi...
Frankfort asked 7/10, 2012 at 18:12
1
I'm using Rails 5.1.1 and for our rspec feature tests we want would like to use precompiled assets before running all feature tests. (The main reason for this is because capybara-webkit doesn't sup...
Cantharides asked 20/6, 2017 at 1:55
2
Solved
I'm using a markdown editor on my page, which I'm trying to target, and fill in, using capybara-webkit, but without any luck.
My template looks like this
<%= simple_form_for form, url: url, me...
Garget asked 21/5, 2015 at 14:20
7
Solved
Any suggestions on how to fix?
gem install capybara-webkit -v '0.11.0'
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit:
ERROR: Failed to build gem n...
Junitajunius asked 6/7, 2012 at 1:14
5
Solved
I have created custom upload form using the following html stack:
<form>
<label></label>
<input type="file">
</form>
The file field is hidden via css with display...
Grimaldo asked 28/6, 2013 at 9:21
4
Solved
There is help online for using select2 with capybara (see links below), but no help in particular as far as I have seen for select2 drop-down fields. I have tried all kinds of things, including try...
Higgins asked 21/12, 2016 at 7:39
4
Solved
I have added visually hidden jump links to my website, that appear when they are focused (similar to e.g. GitHub, just press Tab once on the home page).
I want to test this behaviour with Capybara...
Merna asked 23/3, 2015 at 11:51
6
Solved
I am getting following error while executing command bundle install in my Rails 4 application.
> ruby -v
ruby 2.1.8p440 (2015-12-16 revision 53160) [i386-mingw32]
> rails --version
Could no...
Kessler asked 13/4, 2016 at 20:16
6
I have a JS feature spec I'm trying to run with Capybara Webkit. It doesn't seem to be able to find my database records however.
The spec in question looks like this
it "should allow pledging to ...
Maugham asked 7/11, 2013 at 12:48
5
Solved
My config is MAC Mojave v10.14.
I try to install gem Capybara-webkit -v '1.15.0' which need qt5.5, but qt5.5 has been dropped of the homebrew and it is not compatible with Xcode v10.
I try this :...
Salomie asked 5/10, 2018 at 8:9
2
Solved
I've been trying to install the Capybara-Webkit gem with bundler and after following these instructions: https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webk...
Lasting asked 8/11, 2016 at 22:18
4
Solved
What are the differences between PhantomJS and capybara-webkit?
What are the advantages of capybara-webkit over PhantomJS?
Which of the two is the most efficient tool?
Others ...
Aileenailene asked 30/5, 2014 at 9:37
1
Solved
The documentation for Rails 5.1 system tests is a bit sparse. I'm unable to get headless tests that execute javascript running. I think one approach entails installing and running xvf. But this is ...
Cleaning asked 5/5, 2017 at 20:8
1
Solved
I want to write test cases for my rails application. I have already written a lot of test cases in Rails built-in framework Minitest.
Now I want to test javascript functionality of my web app.
I ...
Yokoyokohama asked 21/2, 2017 at 12:34
2
Is there a way to click a Google Maps overlay with capybara-webkit? What about Capybara using Selenium? I want to test the content of the info window once the marker is selected. I also want to tes...
Huth asked 7/3, 2013 at 20:34
1
In my app I have a page that pops up a modal that will update some content in it and dismiss itself (and become invisible) after uncertain amount of time. In my spec, I am trying to wait until the ...
Hue asked 14/11, 2016 at 1:10
1
Solved
I have rails app and have some ajax call in application.js file. O have rspec, capybara, webkit, factorygirl and databasecleaner for testing. I wrote feature tests which all pass. Then accidentally...
Smearcase asked 4/11, 2016 at 7:36
4
In a Rails application I'm trying to test a Bootstrap modal with a jQuery TokenInput field in Rspec using Capybara with the capybara-webkit driver. The portion in question is as follows:
click_lin...
Orsola asked 23/1, 2013 at 20:32
2
Apparently, sleep or wait_until are not valid using recent versions of Capybara, according to the webpage updates.
However, I have a set of tests that only work on fast machines if I add a sleep(1...
Distinction asked 1/11, 2013 at 23:28
5
Solved
I am upgrading from rails 3.2.19 to rails 4.1.5, using rspec-rails 2.14.0.rc1 and capybara 2.4.1. All tests pass, and I only have one deprecation warning left:
[DEPRECATION] Capybara::Webkit::Driv...
Beaverette asked 9/10, 2014 at 9:49
1 Next >
© 2022 - 2024 — McMap. All rights reserved.