solidus_backend 2.8.5 → 2.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9eb488da8c5ec6180921799123279c4f3e9a563551a3b5fb2b17843625fc5919
4
- data.tar.gz: eeb2e5186f948a89bc390b30750ca9dd643e718fd13829d0c2abbeac922a0b16
3
+ metadata.gz: e8e4eeb8b6f2823c6e44903bc105cbfe8fb2347e2e80f854441c82163ee6f76b
4
+ data.tar.gz: 7c3e74b0baf59ef9dc2772b832ac4235f855307b522fe6600848f7b9d7a2771e
5
5
  SHA512:
6
- metadata.gz: e080c745f786f1183ab3b90504f1c6b8857da737b256f00d204c2b117211ddb050ce5fc9fa45aa9d97be3a42be016eeefc840f97caf49613bf5e01dcb013fda2
7
- data.tar.gz: 9f343ac6ecb0497f286b8dc57e4149b54cc1b5f3313f36086437b598f6a4b23b7e95b843bfbb3f6be7c3deaf3daf79d53852cc389a3c194dd97fcc66811683d7
6
+ metadata.gz: d5f54db33c3330faee68d7e6582056b9da7d15a98550866a3fc2b2b0754a4091c6ec9ec85e36a9009fdcc60821db9f7d4c6f06cda9762b17a3ce250b9239c4aa
7
+ data.tar.gz: db8770dab6b7c8d19a08e59bb94d5cb9ee73532f5e07f1a5514bb66a42dab8166b338fc876691a82c741a47ab1522054867ef23a1203575eaa3a53d31b43996b
@@ -26,9 +26,19 @@ describe "Product Display Order", type: :feature do
26
26
  visit spree.edit_admin_product_path(product)
27
27
 
28
28
  assert_selected_taxons([taxon_1])
29
-
30
29
  select2_search "Clothing", from: "Taxon"
30
+ assert_selected_taxons([taxon_1, taxon_2])
31
+
32
+ # Without this line we have a flaky spec probably due to select2 not
33
+ # closing its fixed overlay correctly. Clicking anywhere in the page
34
+ # before submit apparently solves the issue.
35
+ find('.edit_product', visible: true).click
36
+
31
37
  click_button "Update"
38
+
39
+ within('.flash') do
40
+ expect(page).to have_content(%(Product "#{product.name}" has been successfully updated!))
41
+ end
32
42
  assert_selected_taxons([taxon_1, taxon_2])
33
43
  end
34
44
 
@@ -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
- capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
42
- chromeOptions: { args: %w(headless disable-gpu window-size=1920,1440) }
43
- )
44
- config.driver_options = { client_driver: :chrome, desired_capabilities: capabilities }
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.8.5
4
+ version: 2.8.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: 2019-10-23 00:00:00.000000000 Z
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.8.5
19
+ version: 2.8.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.8.5
26
+ version: 2.8.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.8.5
33
+ version: 2.8.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.8.5
40
+ version: 2.8.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -984,7 +984,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
984
984
  version: 1.8.23
985
985
  requirements:
986
986
  - none
987
- rubygems_version: 3.0.6
987
+ rubygems_version: 3.0.3
988
988
  signing_key:
989
989
  specification_version: 4
990
990
  summary: Admin interface for the Solidus e-commerce framework.