workarea-storefront 3.5.19 → 3.5.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/test/integration/workarea/storefront/store_credit_integration_test.rb +3 -1
- data/test/system/workarea/storefront/content_system_test.rb +1 -1
- data/test/system/workarea/storefront/credit_cards_system_test.rb +1 -1
- data/test/system/workarea/storefront/navigation_system_test.rb +2 -2
- data/test/system/workarea/storefront/pagination_system_test.rb +6 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c50360a4f45c6c0829ee7946aaddb42f7750ae952a6cd34b0ed318a136081e5
|
4
|
+
data.tar.gz: b674fc2b3f89fcd4d77847a49c02a897b565f8067e6c260a435d3f91d75b7b37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90a4da3fb29ab3d04be5561dc3879fc453225b7a386f41862c61a4e4de361ff70695e5ddff0601aa76e3c676bd881685ad32136ee901e6b97e0c30177d128507
|
7
|
+
data.tar.gz: d0e50e28fb52a9149d9446ab698fd3aebcc350b8b632d66bd0c3474005f2988f8e12d317295d29039ce915c7e6bb5c885f94a09155fa297aad59367921c88e62
|
@@ -5,7 +5,9 @@ module Workarea
|
|
5
5
|
class StoreCreditIntegrationTest < Workarea::IntegrationTest
|
6
6
|
include Storefront::IntegrationTest
|
7
7
|
|
8
|
-
|
8
|
+
setup :setup_supporting_data
|
9
|
+
|
10
|
+
def setup_supporting_data
|
9
11
|
@user = create_user(email: 'bcrouse@workarea.com', password: 'W3bl1nc!')
|
10
12
|
|
11
13
|
@tax = create_tax_category(
|
@@ -54,7 +54,7 @@ module Workarea
|
|
54
54
|
assert_current_path(storefront.root_path)
|
55
55
|
|
56
56
|
page.execute_script("$('body').trigger('click');")
|
57
|
-
|
57
|
+
refute_text('Foo')
|
58
58
|
end
|
59
59
|
|
60
60
|
def test_left_navigation
|
@@ -66,7 +66,7 @@ module Workarea
|
|
66
66
|
|
67
67
|
secondary.navigable.update_attributes!(active: false)
|
68
68
|
visit storefront.page_path(primary.navigable)
|
69
|
-
|
69
|
+
refute_text('Foo')
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|
@@ -59,7 +59,7 @@ module Workarea
|
|
59
59
|
|
60
60
|
scroll_to_bottom
|
61
61
|
|
62
|
-
|
62
|
+
refute_text(t('workarea.storefront.pagination.next_page'))
|
63
63
|
click_link t('workarea.storefront.pagination.load_more')
|
64
64
|
|
65
65
|
assert_current_path(storefront.category_path(category))
|
@@ -70,7 +70,7 @@ module Workarea
|
|
70
70
|
assert(page.has_content?('Product 5'))
|
71
71
|
assert(page.has_content?('Product 6'))
|
72
72
|
|
73
|
-
|
73
|
+
refute_text(t('workarea.storefront.pagination.load_more'))
|
74
74
|
|
75
75
|
find('a', text: 'Product 6').click
|
76
76
|
page.execute_script("history.back()")
|
@@ -79,7 +79,7 @@ module Workarea
|
|
79
79
|
|
80
80
|
wait_for_xhr
|
81
81
|
|
82
|
-
|
82
|
+
refute_text(t('workarea.storefront.pagination.load_more'))
|
83
83
|
|
84
84
|
assert_match(/PROD1.*PROD2.*PROD3.*PROD4.*PROD5.*PROD6/m, page.html)
|
85
85
|
end
|
@@ -95,7 +95,7 @@ module Workarea
|
|
95
95
|
|
96
96
|
scroll_to_bottom
|
97
97
|
|
98
|
-
|
98
|
+
refute_text(t('workarea.storefront.pagination.next_page'))
|
99
99
|
click_link t('workarea.storefront.pagination.load_more')
|
100
100
|
|
101
101
|
assert_current_path(storefront.search_path(q: 'Product'))
|
@@ -106,7 +106,7 @@ module Workarea
|
|
106
106
|
assert(page.has_content?('Product 5'))
|
107
107
|
assert(page.has_content?('Product 6'))
|
108
108
|
|
109
|
-
|
109
|
+
refute_text(t('workarea.storefront.pagination.load_more'))
|
110
110
|
|
111
111
|
find('a', text: 'Product 6').click
|
112
112
|
page.execute_script("history.back()")
|
@@ -115,7 +115,7 @@ module Workarea
|
|
115
115
|
|
116
116
|
wait_for_xhr
|
117
117
|
|
118
|
-
|
118
|
+
refute_text(t('workarea.storefront.pagination.load_more'))
|
119
119
|
|
120
120
|
assert(page.has_content?('Product 1'))
|
121
121
|
assert(page.has_content?('Product 2'))
|
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.5.
|
4
|
+
version: 3.5.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-30 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.5.
|
19
|
+
version: 3.5.20
|
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.5.
|
26
|
+
version: 3.5.20
|
27
27
|
description: Provides user-facing ecommerce storefront functionality for the Workarea
|
28
28
|
Commerce Platform.
|
29
29
|
email:
|