workarea-storefront 3.4.15 → 3.4.16

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c6c62a778cd312b50ad868b36850db7320e78613719e3dec46276ec35c9a61a
4
- data.tar.gz: dce46be915a9ce298d0910677b9f9ffa541ad792268ac0dae455821d2285589d
3
+ metadata.gz: d20eb60b4b2c957111f278ac1ec2ef5af5998b8fd1e330fb00e69a27cbdb015e
4
+ data.tar.gz: fdf244bbe6301e999f91a8ae53235a5265e64cfbe29b289beaeb3748ceede148
5
5
  SHA512:
6
- metadata.gz: c770cc7df5053453f8b2367d029a2a158381279fd0af55e920ed3f72f92451abe37b214ed460ca3c5910613a9fa46d6d4e6fd8430ea0b0289c0d1a9c48733fd2
7
- data.tar.gz: f4d8c6b934e263baf8261217c93441377c622b3d3e74f346edd80e2b6773cd17bb74e68fd2d3ba486ecf427cd117fc301c3868e3b4d374ca658fc90c48d60ffe
6
+ metadata.gz: 2c51350fbdc6c7b7a6cae6b5b14f75b140f806dcf875acbc1a7103a7b8bdc74c14e0ea8e7fff2f283cbf51b52450ea892aa1745fb92e990c62d45451bc0ffe42
7
+ data.tar.gz: 0cac862c5b724f066f4902fb0f5d052aed23397910cea65a5840ee21736a2dff3dcdad90a847e3a9f382f56802ea59620a86c6d6e857505e07f191eeca080826
@@ -41,12 +41,18 @@ module Workarea
41
41
 
42
42
  def test_showing_a_specific_variant_by_sku
43
43
  visit storefront.product_path(@product, sku: 'SKU1')
44
- assert(page.has_content?('Integration Product'))
45
- assert(page.has_content?('$10.00'))
46
- assert(page.has_no_content?('$15.00'))
44
+
45
+ within '.product-details' do
46
+ assert(has_content?('Integration Product'))
47
+ assert(has_content?('$10.00'))
48
+ assert(has_no_content?('$15.00'))
49
+ end
47
50
 
48
51
  visit storefront.product_path(@product, sku: 'SKU2')
49
- assert(page.has_content?('$15.00'))
52
+
53
+ within '.product-details' do
54
+ assert(has_content?('$15.00'))
55
+ end
50
56
  end
51
57
 
52
58
  def test_showing_a_product_with_no_prices
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-storefront
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.15
4
+ version: 3.4.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-04 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.15
19
+ version: 3.4.16
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: 3.4.15
26
+ version: 3.4.16
27
27
  description: Provides user-facing ecommerce storefront functionality for the Workarea
28
28
  Commerce Platform.
29
29
  email: