solidus_backend 2.9.5 → 2.9.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_backend might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/spec/teaspoon_env.rb +8 -23
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f0c706dab405664795c44607df0bd5c1c34c672d5b127334dc26f96a3c6d512
|
4
|
+
data.tar.gz: a967573f7531766f5463d62bf6003c199cbe3edc818045dda6c1253e65ea95ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d1dbb894a0fa1d9680ccb0209e18674f646fb8fdc3a839d5dfbba35c21eb7deb03c9872ee08eb39cc850fd828ce03782038cf5e939b481826c9d1b70c08557e
|
7
|
+
data.tar.gz: dfc913572b3815ba7558833d08360d06b607d0ce2c6361682c765972528ceeeff3cbcadb6eeae2d3dd6bf84ef9edc363a3a0101f38b3d957f9f6d913dc788a2a
|
data/spec/teaspoon_env.rb
CHANGED
@@ -2,27 +2,8 @@
|
|
2
2
|
|
3
3
|
ENV['RAILS_ENV'] = 'test'
|
4
4
|
|
5
|
-
# Teaspoon doesn't allow you to pass client driver options to the Selenium WebDriver. This monkey patch
|
6
|
-
# is a temporary fix until this PR is merged: https://github.com/jejacks0n/teaspoon/pull/519.
|
7
5
|
require 'teaspoon/driver/selenium'
|
8
6
|
|
9
|
-
Teaspoon::Driver::Selenium.class_eval do
|
10
|
-
def run_specs(runner, url)
|
11
|
-
driver = ::Selenium::WebDriver.for(driver_options[:client_driver], @options.except(:client_driver) || {})
|
12
|
-
driver.navigate.to(url)
|
13
|
-
|
14
|
-
::Selenium::WebDriver::Wait.new(driver_options).until do
|
15
|
-
done = driver.execute_script("return window.Teaspoon && window.Teaspoon.finished")
|
16
|
-
driver.execute_script("return window.Teaspoon && window.Teaspoon.getMessages() || []").each do |line|
|
17
|
-
runner.process("#{line}\n")
|
18
|
-
end
|
19
|
-
done
|
20
|
-
end
|
21
|
-
ensure
|
22
|
-
driver.quit if driver
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
7
|
# Similar to setup described in
|
27
8
|
# https://github.com/jejacks0n/teaspoon/wiki/Micro-Applications
|
28
9
|
|
@@ -38,10 +19,14 @@ if defined?(DummyApp)
|
|
38
19
|
config.fixture_paths = ["spec/javascripts/fixtures"]
|
39
20
|
|
40
21
|
config.driver = :selenium
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
22
|
+
config.driver_options = {
|
23
|
+
client_driver: :chrome,
|
24
|
+
selenium_options: {
|
25
|
+
options: Selenium::WebDriver::Chrome::Options.new(
|
26
|
+
args: %w(headless disable-gpu window-size=1920,1440),
|
27
|
+
),
|
28
|
+
},
|
29
|
+
}
|
45
30
|
|
46
31
|
config.suite do |suite|
|
47
32
|
suite.use_framework :mocha, "2.3.3"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_api
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.9.
|
19
|
+
version: 2.9.6
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.9.
|
26
|
+
version: 2.9.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: solidus_core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.9.
|
33
|
+
version: 2.9.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.9.
|
40
|
+
version: 2.9.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: coffee-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|