effective_test_bot 1.1.30 → 1.1.31

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: 9dec06ddd30a8548521d86039448de854f1ba937f40799d0289e161b4e894131
4
- data.tar.gz: bd45ec5a42567d3e11ee9aecdd3cc9359c8351c8f4c8ed21e844f9baeb3d05da
3
+ metadata.gz: a03f1fb6d9966112b23b0258b97b01170f21b814306e326a8e090addb7ff64cd
4
+ data.tar.gz: 228fe00102bf6f801aac88425f6588faec7777243881c83723f23ff9ea6b3625
5
5
  SHA512:
6
- metadata.gz: d61ff64d42c6d0f95ce15ffb457307286e13ec36347b09c0c208241fb05ed3ca779140b44ad0af49143299f1135c48177a2137d442d5ffb815864359f642a13d
7
- data.tar.gz: 3c86a02228efb83687c2b26d7daa878304616361d6ae123bc455b2329ffbc6fb6b53273fd19b1cea05b239d5c46c47ad2af9cfb39407bff1bdf74b3fb5de69e5
6
+ metadata.gz: bd26c1a23b70d3c5285df2d0925c1eb10651f696d338f9a0e1c68244392920c2ab6514f9718266503fdc2a30832356052e39336f73571cbdbd12028317151f98
7
+ data.tar.gz: d139f4e47695a057a318384d572a7eeda6e27816debc92b18c07c8a94399c0427e983cba19c863e3947f78af9a1bb97d1a2758019d3589a7c2ed90cab5d5e244
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.1.30'.freeze
2
+ VERSION = '1.1.31'.freeze
3
3
  end
@@ -106,7 +106,7 @@ module EffectiveTestBotFormHelper
106
106
  # This kind of sucks, as we want to simulate mouse movements with the tour
107
107
  # Instead we manually trigger submit buttons and use the data-disable-with to
108
108
  # make the 'submit form' step look nice
109
- def click_submit(label = nil, last: false, debug: false)
109
+ def click_submit(label = nil, last: false, synchronize: true, debug: false)
110
110
  submit = find_submit(label, last: last)
111
111
 
112
112
  if EffectiveTestBot.screenshots?
@@ -128,7 +128,7 @@ module EffectiveTestBotFormHelper
128
128
  submit.click
129
129
  end
130
130
 
131
- synchronize!
131
+ synchronize ? synchronize! : sleep(2)
132
132
 
133
133
  save_test_bot_screenshot if EffectiveTestBot.screenshots? && page.current_path.present?
134
134
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_test_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.30
4
+ version: 1.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-11 00:00:00.000000000 Z
11
+ date: 2020-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails