acceptance_test 1.9.4 → 1.9.5
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 +8 -8
- data/CHANGES +4 -0
- data/lib/acceptance_test/driver_manager.rb +23 -5
- data/lib/acceptance_test/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Nzk2ODY2NjZmN2Q1MGUxYTU4Nzg4NjEyNWJjODcxYzI1MDgxZGVhNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTkwZWUwZjQyMDJiNDUzYjkzOTdmNTcwNjJiMzRhYzcwMTZlZDdlMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWYwMzBjY2YzMGM3ZjgyOWE0MmM0YTU2YmU0ZTI3M2NhYzlkNzRiOGFkNTg3
|
10
|
+
MTFjY2I3YzM3M2FkMjI5YjAzMjZiNTY5ZmVjMTUxYjFkMzIwNTY3Y2VlODZi
|
11
|
+
ZGI3ZTVhNzczYzRjMWU2N2VjYTQ2MWFmNGE2ZDFhMDI3OTM2MDg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGJlMDYxNTc3NjQwMDhhNmRhYzdlZjAwNDI5MmE3YmZkMzlhMmZhYjJmYTM4
|
14
|
+
ODAxZmZiMTU5YzVhMjI5Mzk0NGUyYTYwMWRjNTUyMGQ4NTBiMTg2N2JhY2Ji
|
15
|
+
N2M0ODVjZWU5N2Q0MjJhYmFlZmMxMTJhNjVkZWI3MjllZTgzZTY=
|
data/CHANGES
CHANGED
@@ -61,14 +61,32 @@ class DriverManager
|
|
61
61
|
if selenium_url
|
62
62
|
properties[:browser] = :remote
|
63
63
|
properties[:url] = selenium_url
|
64
|
-
properties[:desired_capabilities] = capabilities if capabilities
|
65
64
|
|
65
|
+
case browser
|
66
|
+
when :firefox
|
66
67
|
# profile = Selenium::WebDriver::Firefox::Profile.new
|
67
68
|
# profile.enable_firebug
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
69
|
+
# capabilities = Selenium::WebDriver::Remote::Capabilities.firefox(:firefox_profile => profile)
|
70
|
+
|
71
|
+
caps = Selenium::WebDriver::Remote::Capabilities.firefox
|
72
|
+
when :chrome
|
73
|
+
caps = Selenium::WebDriver::Remote::Capabilities.chrome
|
74
|
+
else
|
75
|
+
;
|
76
|
+
end
|
77
|
+
|
78
|
+
desired_capabilities =
|
79
|
+
if caps
|
80
|
+
capabilities.each do |key, value|
|
81
|
+
caps[key] = value
|
82
|
+
end if capabilities
|
83
|
+
|
84
|
+
caps
|
85
|
+
elsif capabilities
|
86
|
+
capabilities
|
87
|
+
end
|
88
|
+
|
89
|
+
properties[:desired_capabilities] = desired_capabilities if desired_capabilities
|
72
90
|
else
|
73
91
|
properties[:browser] = browser
|
74
92
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acceptance_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gemspec_deps_gen
|