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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec668e2bc9e4ffe88ce937e6f43063721479d715bf169b5e70ee4bab0e508e18
|
4
|
+
data.tar.gz: 61184d86f49976e6aa153e112b0b43e776d9ea2bcbc45c06b4b03a89361b4100
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e723a5d19396f06baf3fdeb673adfe0fc2be6a4079ae117da12c04baa22d9594afcd0ff737d8b10b32b9e8a9a23fb2a6b59ec5fcc0d2e5f703260d595beac41
|
7
|
+
data.tar.gz: 0d1cef3234edaca85821b86d504f3aa7b99c21a240333145be1db9e898b05ea5386c2e293d13fe80cc553fbe90f6ad76a9e19e0e6c50717369ac217c7393eed8
|
@@ -141,7 +141,7 @@ module EffectiveTestBotFormHelper
|
|
141
141
|
|
142
142
|
synchronize ? synchronize! : sleep(2)
|
143
143
|
|
144
|
-
save_test_bot_screenshot if EffectiveTestBot.screenshots?
|
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.
|
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
|