capybara-webkit 1.10.1 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +9 -5
- data/NEWS.md +3 -0
- data/lib/capybara/webkit/node.rb +2 -0
- data/lib/capybara/webkit/version.rb +1 -1
- data/spec/driver_spec.rb +10 -0
- data/src/main.cpp +4 -0
- data/src/webkit_server.pro +5 -4
- data/test/testwebkitserver.pro +1 -1
- metadata +20 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad5728bd3b562424ad10cde2602b487c316ab913
|
4
|
+
data.tar.gz: 9570284c025d046a9fa8702397b0f33437836de5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a44f6bcb19e12adb7d88c7385894568148fe3a54b20c7d0a3f98ab6ea11a36e34efc452a4077a30bc2d8124f6f536d636f4bfaebc8db9598079fedb08605a9ba
|
7
|
+
data.tar.gz: c40ed1c93364e875e36f1ff769b617b5c40fe0d259944cc7dccfe9ed06a35d24b03033f2e1ee8c88d406148e526925a5aa21a7ab96de6f383b24f44afa2ccb87
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
capybara-webkit (1.
|
5
|
-
capybara (>= 2.3.0, < 2.
|
4
|
+
capybara-webkit (1.11.0)
|
5
|
+
capybara (>= 2.3.0, < 2.8.0)
|
6
6
|
json
|
7
7
|
|
8
8
|
GEM
|
@@ -33,10 +33,10 @@ GEM
|
|
33
33
|
mime-types (2.6.1)
|
34
34
|
mini_magick (3.2.1)
|
35
35
|
subexec (~> 0.0.4)
|
36
|
-
|
36
|
+
mini_portile2 (2.0.0)
|
37
37
|
multi_json (1.11.0)
|
38
|
-
nokogiri (1.6.
|
39
|
-
|
38
|
+
nokogiri (1.6.7.2)
|
39
|
+
mini_portile2 (~> 2.0.0.rc2)
|
40
40
|
rack (1.6.4)
|
41
41
|
rack-protection (1.3.2)
|
42
42
|
rack
|
@@ -78,8 +78,12 @@ DEPENDENCIES
|
|
78
78
|
appraisal (~> 0.4.0)
|
79
79
|
capybara-webkit!
|
80
80
|
launchy
|
81
|
+
mime-types (< 3.0)
|
81
82
|
mini_magick
|
82
83
|
rake
|
83
84
|
rspec (~> 2.14.0)
|
84
85
|
selenium-webdriver
|
85
86
|
sinatra
|
87
|
+
|
88
|
+
BUNDLED WITH
|
89
|
+
1.11.2
|
data/NEWS.md
CHANGED
data/lib/capybara/webkit/node.rb
CHANGED
data/spec/driver_spec.rb
CHANGED
@@ -1258,6 +1258,16 @@ describe Capybara::Webkit::Driver do
|
|
1258
1258
|
textarea.value.should eq "newvalue"
|
1259
1259
|
end
|
1260
1260
|
|
1261
|
+
context "#send_keys" do
|
1262
|
+
it "should support :backspace" do
|
1263
|
+
input = driver.find_xpath("//input").first
|
1264
|
+
input.set("dog")
|
1265
|
+
input.value.should eq "dog"
|
1266
|
+
input.send_keys(*[:backspace])
|
1267
|
+
input.value.should eq "do"
|
1268
|
+
end
|
1269
|
+
end
|
1270
|
+
|
1261
1271
|
let(:monkey_option) { driver.find_xpath("//option[@id='select-option-monkey']").first }
|
1262
1272
|
let(:capybara_option) { driver.find_xpath("//option[@id='select-option-capybara']").first }
|
1263
1273
|
let(:animal_select) { driver.find_xpath("//select[@name='animal']").first }
|
data/src/main.cpp
CHANGED
@@ -15,6 +15,10 @@ int main(int argc, char **argv) {
|
|
15
15
|
}
|
16
16
|
#endif
|
17
17
|
|
18
|
+
#ifdef Q_OS_MAC
|
19
|
+
QApplication::setStyle(QStyleFactory::create("Fusion"));
|
20
|
+
#endif
|
21
|
+
|
18
22
|
QApplication app(argc, argv);
|
19
23
|
app.setApplicationName("capybara-webkit");
|
20
24
|
app.setOrganizationName("thoughtbot, inc");
|
data/src/webkit_server.pro
CHANGED
@@ -176,10 +176,11 @@ SOURCES = \
|
|
176
176
|
RESOURCES = webkit_server.qrc
|
177
177
|
QT += network
|
178
178
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
179
|
+
qtHaveModule(webkitwidgets) {
|
180
|
+
QT += webkitwidgets
|
181
|
+
} else {
|
182
|
+
error("No QtWebKit installation found. QtWebKit is no longer included with Qt 5.6, so you may need to install it separately.")
|
183
|
+
}
|
183
184
|
} else {
|
184
185
|
QT += webkit
|
185
186
|
}
|
data/test/testwebkitserver.pro
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-webkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thoughtbot
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2016-04-
|
16
|
+
date: 2016-04-26 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: capybara
|
@@ -401,4 +401,21 @@ rubygems_version: 2.4.5.1
|
|
401
401
|
signing_key:
|
402
402
|
specification_version: 4
|
403
403
|
summary: Headless Webkit driver for Capybara
|
404
|
-
test_files:
|
404
|
+
test_files:
|
405
|
+
- spec/browser_spec.rb
|
406
|
+
- spec/capybara_webkit_builder_spec.rb
|
407
|
+
- spec/configuration_spec.rb
|
408
|
+
- spec/connection_spec.rb
|
409
|
+
- spec/cookie_jar_spec.rb
|
410
|
+
- spec/driver_rendering_spec.rb
|
411
|
+
- spec/driver_resize_window_spec.rb
|
412
|
+
- spec/driver_spec.rb
|
413
|
+
- spec/errors_spec.rb
|
414
|
+
- spec/integration/session_spec.rb
|
415
|
+
- spec/selenium_compatibility_spec.rb
|
416
|
+
- spec/self_signed_ssl_cert.rb
|
417
|
+
- spec/server_spec.rb
|
418
|
+
- spec/spec_helper.rb
|
419
|
+
- spec/support/app_runner.rb
|
420
|
+
- spec/support/matchers/include_response.rb
|
421
|
+
- spec/support/output_writer.rb
|