effective_test_bot 1.5.7 → 1.5.8

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: 3f86b5ccc8292ae859595990c098b6ef9b0e68151ac13d9c1bc27d28288ef28c
4
- data.tar.gz: 2b9a9054448b9298c23bc204145d3b6f0ac1b8d975f0f342f46b1d4e36b76770
3
+ metadata.gz: b0195f6175b4b0cfaf3e4ab9ddfef298e406935b06f0a5a0f8a2e95882c9472b
4
+ data.tar.gz: a2ab5cc7452c42aea78b7bd0d05422ab649bb0d4e724570963886a98b17f54d8
5
5
  SHA512:
6
- metadata.gz: 7e019e7a80ee2febd569b9087f5f49f33353afb39ae3ace0697c33af7c0381bd7394b522de3217c2f06ba6fb69181d11ad6144bb8a9f2ce78376d892164bf901
7
- data.tar.gz: 429cdc8e54934ca69327b82655c44239c45f2df094d13f68fbd3e5cdebc9da9819f66518cccfacc5c7f873e0b4992f2c8a42549a05c8bf249bf9bbae524459f4
6
+ metadata.gz: e2c0a829794dcc61b80bbb312d45d8eb1440457caf33fc1009e133613f89f749a4c2ab2bde0c8744735f173823e5aef44b74f5ce681dadca6b1bf12e4d55eac0
7
+ data.tar.gz: fbcce9e8a07b92df51682e0c65a359817d981085c9ac0030a9d5bfa70e930bc1259055733e04d6eba44abbe38c2642461d5b8fe72258e7146a62c920882c69dc
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.5.7'.freeze
2
+ VERSION = '1.5.8'.freeze
3
3
  end
@@ -206,7 +206,7 @@ module EffectiveTestBotAssertions
206
206
  assert errors.blank?, message || "(no_assigns_errors) Unexpected @#{key} rails validation errors:\n#{errors}"
207
207
  else
208
208
  assigns.each do |key, value|
209
- errors = value['errors'] if value.respond_to?(:[])
209
+ errors = (value['errors'] rescue false) if value.respond_to?(:[])
210
210
  assert errors.blank?, message || "(no_assigns_errors) Unexpected @#{key} rails validation errors:\n#{errors}"
211
211
  end
212
212
  end
@@ -80,6 +80,7 @@ module EffectiveTestBotTestHelper
80
80
  def within_datatable_new_form(&block)
81
81
  click_on 'New'
82
82
  within_first('.col-inline-form') { yield }
83
+ sleep(1)
83
84
  end
84
85
  alias_method :within_datatables_new_form, :within_datatable_new_form
85
86
 
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.5.7
4
+ version: 1.5.8
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: 2024-04-17 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails