effective_test_bot 1.3.9 → 1.3.11

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: 3374c0b19e6257e6c13dedfd31d16356890c02aff87a930a54f3e7f594074415
4
- data.tar.gz: 499997af0582f9a1ef1ae481e42494710e6a7b2efbf42e41e5c61eb6a91085bb
3
+ metadata.gz: ec668e2bc9e4ffe88ce937e6f43063721479d715bf169b5e70ee4bab0e508e18
4
+ data.tar.gz: 61184d86f49976e6aa153e112b0b43e776d9ea2bcbc45c06b4b03a89361b4100
5
5
  SHA512:
6
- metadata.gz: b500fc8e1e05415c42d095d19e9ee4b77243b87078f31cf847c25e125db6efe331e26fde343bfb2f33158c7f3b109a25dd074646e87103896d289a8ad98c054a
7
- data.tar.gz: 9097c502ff6819363efe340cfe1e58b7036f1201a6f5547b8e1d1def1e3a332ffb2b9585b5442e6518acccd568db6c1f1542b5241cde3a8ab8e18c834db8e7f6
6
+ metadata.gz: 0e723a5d19396f06baf3fdeb673adfe0fc2be6a4079ae117da12c04baa22d9594afcd0ff737d8b10b32b9e8a9a23fb2a6b59ec5fcc0d2e5f703260d595beac41
7
+ data.tar.gz: 0d1cef3234edaca85821b86d504f3aa7b99c21a240333145be1db9e898b05ea5386c2e293d13fe80cc553fbe90f6ad76a9e19e0e6c50717369ac217c7393eed8
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.3.9'.freeze
2
+ VERSION = '1.3.11'.freeze
3
3
  end
@@ -141,7 +141,7 @@ module EffectiveTestBotFormHelper
141
141
 
142
142
  synchronize ? synchronize! : sleep(2)
143
143
 
144
- save_test_bot_screenshot if EffectiveTestBot.screenshots? && page.current_path.present?
144
+ save_test_bot_screenshot if EffectiveTestBot.screenshots?
145
145
 
146
146
  true
147
147
  end
@@ -8,7 +8,7 @@ module EffectiveTestBotScreenshotsHelper
8
8
 
9
9
  def save_test_bot_screenshot
10
10
  return unless EffectiveTestBot.gifs?
11
- return unless (page.current_path rescue false).present?
11
+ return unless (page.current_url rescue false).present?
12
12
 
13
13
  page.save_screenshot("#{current_test_temp_path}/#{current_test_screenshot_id}.png")
14
14
  true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_test_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect