workarea-testing 3.4.19 → 3.4.20
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 +4 -4
- data/lib/workarea/system_test.rb +14 -1
- 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: 60c0bce20725fbaa0947a3ae633729aea076d81d5afa7b298de094ee975618fb
|
4
|
+
data.tar.gz: 46370f874a2ed330b1aa355b9917871bc51eb0c0a8a278157d73e1be7a0cab6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 839559eb4ea905510f2abd5430dd913164fe4083ae6b647549ef47a45d211c219e01aa42b23a0fde2753d664e408d3160071954e95cab2c33f2be8fb6facd004
|
7
|
+
data.tar.gz: 6960b5e484b5b5703cebf1749a29ca19130c56a407cdcd87e15557f9a07f0fb1cfb1820cc82eeeb8fd2f87eb20ec1933c4470aa4a9e4daf34c09fc56999f1d37
|
data/lib/workarea/system_test.rb
CHANGED
@@ -70,7 +70,7 @@ module Workarea
|
|
70
70
|
# before going nuts on the page. Theoretically, Capybara does this for you.
|
71
71
|
# Of course in theory, theory works.
|
72
72
|
#
|
73
|
-
(%i(visit refresh go_back go_forward within) + Capybara::Session::NODE_METHODS).each do |method|
|
73
|
+
(%i(visit refresh go_back go_forward within within_frame) + Capybara::Session::NODE_METHODS).each do |method|
|
74
74
|
class_eval <<-ruby
|
75
75
|
def #{method}(*)
|
76
76
|
return super unless javascript?
|
@@ -150,6 +150,19 @@ module Workarea
|
|
150
150
|
end
|
151
151
|
end
|
152
152
|
|
153
|
+
# There is some kind of timing problem around waiting for this iframe that
|
154
|
+
# after a few hours we still can't find. This is a hack to keep this
|
155
|
+
# passing.
|
156
|
+
#
|
157
|
+
# May God have mercy on our souls.
|
158
|
+
#
|
159
|
+
# TODO v3.6
|
160
|
+
# Remove this after we stop using an iframe for the admin toolbar
|
161
|
+
#
|
162
|
+
def wait_for_iframe
|
163
|
+
sleep(0.5)
|
164
|
+
end
|
165
|
+
|
153
166
|
private
|
154
167
|
|
155
168
|
def finished_all_xhr_requests?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.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: 2019-10-
|
11
|
+
date: 2019-10-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.4.
|
19
|
+
version: 3.4.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.4.
|
26
|
+
version: 3.4.20
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: capybara
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|