workarea-storefront 3.4.17 → 3.4.18
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb8ae60e478ddec796538bf8e6e8dc014383da0fc6d10596cb6be48eaa4af769
|
4
|
+
data.tar.gz: 409aef7fb46e3705a9509fb218c9a8fc6b4de409bff3b33b05b87edabffefb5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1994346785e95ff7bad7e33ecff069302ad065628c786edb78d1447cb510e7295c3fa95577501dbe1ff05cb2fc5f9786d3670002a87ac491d04c1b47a18e1db5
|
7
|
+
data.tar.gz: 264cd479ca02e6c0f692071d375260093fc5da46e5ec7c1ddaa5155c38356ebb20aa661c5fe7d0797d62d6bd56731a0d5d4c71116828c6090cfb1d885c9b1482
|
@@ -29,6 +29,7 @@ module Workarea
|
|
29
29
|
assert(page.has_no_content?('New Taxon'))
|
30
30
|
|
31
31
|
within_frame find('.admin-toolbar') do
|
32
|
+
wait_for_iframe
|
32
33
|
select 'Browse Release', from: 'release_id'
|
33
34
|
end
|
34
35
|
assert(page.has_content?('New Taxon'))
|
@@ -36,11 +37,13 @@ module Workarea
|
|
36
37
|
visit storefront.page_path(page1)
|
37
38
|
|
38
39
|
within_frame find('.admin-toolbar') do
|
40
|
+
wait_for_iframe
|
39
41
|
select 'the live site', from: 'release_id'
|
40
42
|
end
|
41
43
|
assert(page.has_no_content?('Foo Changed'))
|
42
44
|
|
43
45
|
within_frame find('.admin-toolbar') do
|
46
|
+
wait_for_iframe
|
44
47
|
select 'Browse Release', from: 'release_id'
|
45
48
|
end
|
46
49
|
assert(page.has_content?('Foo Changed'))
|
@@ -48,11 +51,13 @@ module Workarea
|
|
48
51
|
visit storefront.page_path(page2)
|
49
52
|
|
50
53
|
within_frame find('.admin-toolbar') do
|
54
|
+
wait_for_iframe
|
51
55
|
select 'the live site', from: 'release_id'
|
52
56
|
end
|
53
57
|
assert(page.has_no_content?('Bar Changed'))
|
54
58
|
|
55
59
|
within_frame find('.admin-toolbar') do
|
60
|
+
wait_for_iframe
|
56
61
|
select 'Browse Release', from: 'release_id'
|
57
62
|
end
|
58
63
|
assert(page.has_content?('Bar Changed'))
|
@@ -64,10 +69,26 @@ module Workarea
|
|
64
69
|
visit storefront.root_path
|
65
70
|
|
66
71
|
within_frame find('.admin-toolbar') do
|
72
|
+
wait_for_iframe
|
67
73
|
select 'the live site', from: 'release_id'
|
68
74
|
end
|
69
75
|
assert(page.has_no_content?('New Taxon'))
|
70
76
|
end
|
77
|
+
|
78
|
+
private
|
79
|
+
|
80
|
+
# There is some kind of timing problem around waiting for this iframe that
|
81
|
+
# after a few hours we still can't find. This is a hack to keep this
|
82
|
+
# passing.
|
83
|
+
#
|
84
|
+
# May God have mercy on our souls.
|
85
|
+
#
|
86
|
+
# TODO v3.6
|
87
|
+
# Remove this after we stop using an iframe for the admin toolbar
|
88
|
+
#
|
89
|
+
def wait_for_iframe
|
90
|
+
sleep(0.5)
|
91
|
+
end
|
71
92
|
end
|
72
93
|
end
|
73
94
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-storefront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.4.
|
19
|
+
version: 3.4.18
|
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.
|
26
|
+
version: 3.4.18
|
27
27
|
description: Provides user-facing ecommerce storefront functionality for the Workarea
|
28
28
|
Commerce Platform.
|
29
29
|
email:
|