solidus_frontend 2.6.2 → 2.6.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_frontend might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e15b5b57fbbfe35905625bb7268e2ffebbc6a1ab6a55dd83fcc3756c54dfb34f
4
- data.tar.gz: 6e1fb4ebbf7baa3eb00dbc520d2167ddec2ebf7a7d8543d2a9a809f9d61d3e55
3
+ metadata.gz: 3f42dabc24b637ce71c69e2a7ae3706f5bf46fdb09b50e9e1d906b05d90853ab
4
+ data.tar.gz: bcbcf1b850ecb950c5f9db30a6c7605439a77942fd4a735e3dc76f02519f949c
5
5
  SHA512:
6
- metadata.gz: 0e4cbe62fbb95aece8ebf8be71850fd343c37a68aa601c6560166644baf8b4e48ad91aa44cb8ff1e72021d22823a0ff6de69f24c04ceebe7f5538068324482d8
7
- data.tar.gz: 3bf4d7146df4e73cae1d799627bc381c2d07bd368e056a6ddcd4cbebc31b15300a68d4b5b12587f131a652a758d7ecf206243afc3e26a991b9c1d092b8fa3b18
6
+ metadata.gz: 01607eecaa793ce561dfde0a99188a900a30b66a552fe0bf352206716df3ddbb4d58a656575f287606c9c94c9d022b12499cedc4c76ef8dd3b7f4882fd17e35d
7
+ data.tar.gz: 5647c6080e52f92fc0f4e2576632019052f163fac0591c76ac9e9a8b3f4fe5537b9367f2ddea2129569038839af249d21973d96fca3d4150991aa65f96d46f5e
@@ -350,7 +350,7 @@ describe "Checkout", type: :feature, inaccessible: true do
350
350
  choose "use_existing_card_no"
351
351
 
352
352
  fill_in "Name on card", with: 'Spree Commerce'
353
- fill_in "Card Number", with: '4111 1111 1111 1111'
353
+ fill_in_with_force "Card Number", with: '4111 1111 1111 1111'
354
354
  fill_in "card_expiry", with: '04 / 20'
355
355
  fill_in "Card Code", with: '123'
356
356
 
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FillInWithForce
4
+ def fill_in_with_force(locator, with:)
5
+ field_id = find_field(locator)[:id]
6
+ page.execute_script "document.getElementById('#{field_id}').value = '#{with}';"
7
+ end
8
+ end
9
+
10
+ RSpec.configure do |config|
11
+ config.include FillInWithForce, type: :feature
12
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.2
4
+ version: 2.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-07 00:00:00.000000000 Z
11
+ date: 2019-02-06 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.6.2
19
+ version: 2.6.3
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.6.2
26
+ version: 2.6.3
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.6.2
33
+ version: 2.6.3
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.6.2
40
+ version: 2.6.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: canonical-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -303,6 +303,7 @@ files:
303
303
  - spec/helpers/order_helper_spec.rb
304
304
  - spec/helpers/taxon_filters_helper_spec.rb
305
305
  - spec/spec_helper.rb
306
+ - spec/support/features/fill_in_with_force.rb
306
307
  - spec/support/shared_contexts/checkout_setup.rb
307
308
  - spec/support/shared_contexts/custom_products.rb
308
309
  - spec/support/shared_contexts/locales.rb