effective_test_bot 1.1.16 → 1.1.17
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ee71687d90eaf51e986cd0ef30c9e3c92ac784e389721684e556025402b6447
|
4
|
+
data.tar.gz: c4d73c2e77f900c59697bafb15b223b416992faa6cac36768c20d11ee39e8838
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f8c4c44a34bdedfca424bccfc0e2b9342f5240dd1de0085be269ec6c995b907bfc2d4a5cbe2f19ea40156e62138063211016ae32594f28f80965e2922f810cd
|
7
|
+
data.tar.gz: 5001692409e581fdbeeea2cddbcbde07d0714aa509313822454b22fa8583cde03d331701c3445d1e2c9b234171f1ad4098b759b4523d3c537e0407539fadfeab
|
@@ -127,6 +127,11 @@ module EffectiveTestBotAssertions
|
|
127
127
|
|
128
128
|
if strict == false
|
129
129
|
return if error.to_s.include?('Failed to load resource')
|
130
|
+
|
131
|
+
if error.to_s.include?('WARNING')
|
132
|
+
puts "(no_js_errors) Unexpected javascript warning (use strict=true to fail here):\n#{error}"
|
133
|
+
return
|
134
|
+
end
|
130
135
|
end
|
131
136
|
|
132
137
|
assert error.blank?, message || "(no_js_errors) Unexpected javascript error:\n#{error}"
|