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 +4 -4
- data/spec/features/checkout_spec.rb +1 -1
- data/spec/support/features/fill_in_with_force.rb +12 -0
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f42dabc24b637ce71c69e2a7ae3706f5bf46fdb09b50e9e1d906b05d90853ab
|
4
|
+
data.tar.gz: bcbcf1b850ecb950c5f9db30a6c7605439a77942fd4a735e3dc76f02519f949c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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.
|
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:
|
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.
|
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.
|
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.
|
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.
|
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
|