effective_test_bot 1.1.16 → 1.1.17

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: 7b898de0a361bde183cb75d9525137e31aa39a3adbc8fde81fd2f318ae8143ab
4
- data.tar.gz: 6952e21faa4c276fb4d400d77ab3ffe3f834e972e0507b5124b92264df69b982
3
+ metadata.gz: 8ee71687d90eaf51e986cd0ef30c9e3c92ac784e389721684e556025402b6447
4
+ data.tar.gz: c4d73c2e77f900c59697bafb15b223b416992faa6cac36768c20d11ee39e8838
5
5
  SHA512:
6
- metadata.gz: 75426adb554644199e0ac8a77b39c74a277a1744c9a553d7c941425b62dd27ebf60b6d9a8b49104cc0bbe0258ac6d088bb0281b2681cd613f302a174dcbcf074
7
- data.tar.gz: f5436e1136733cb63909fa585840810296bd6c70251ea566e993fd93870ae75155a7c9e0b4e196146ecf4c5b1397f682745da91ec109c5628520a45116773456
6
+ metadata.gz: 4f8c4c44a34bdedfca424bccfc0e2b9342f5240dd1de0085be269ec6c995b907bfc2d4a5cbe2f19ea40156e62138063211016ae32594f28f80965e2922f810cd
7
+ data.tar.gz: 5001692409e581fdbeeea2cddbcbde07d0714aa509313822454b22fa8583cde03d331701c3445d1e2c9b234171f1ad4098b759b4523d3c537e0407539fadfeab
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.1.16'.freeze
2
+ VERSION = '1.1.17'.freeze
3
3
  end
@@ -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}"
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.1.16
4
+ version: 1.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect