effective_test_bot 1.3.7 → 1.3.9

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: c8afeb68eaeb58c0d615fcacf959fa52cfc6a0086edfd9aac72ecd7074c3c85f
4
- data.tar.gz: 12a5979dbe8a65cb48e348cb28707c652b8f54cf362dffb60dd19b94bbe65cbe
3
+ metadata.gz: 3374c0b19e6257e6c13dedfd31d16356890c02aff87a930a54f3e7f594074415
4
+ data.tar.gz: 499997af0582f9a1ef1ae481e42494710e6a7b2efbf42e41e5c61eb6a91085bb
5
5
  SHA512:
6
- metadata.gz: bb1302de561052019e721e1f183199075bc6b6d4a2906b64fd80466334ecef155f9737077355ab8eba8931e40fd0dacfdc3d790d69c36783c9d976537e23af16
7
- data.tar.gz: b2dde5b77a15398aa2c7a97a0bb0370c92f312dae0ceedfd74e5e605bfe924e5bd1af6a3ade358d46e02421ff771935c7e747c2aa898b6afb0b8f88f7698db31
6
+ metadata.gz: b500fc8e1e05415c42d095d19e9ee4b77243b87078f31cf847c25e125db6efe331e26fde343bfb2f33158c7f3b109a25dd074646e87103896d289a8ad98c054a
7
+ data.tar.gz: 9097c502ff6819363efe340cfe1e58b7036f1201a6f5547b8e1d1def1e3a332ffb2b9585b5442e6518acccd568db6c1f1542b5241cde3a8ab8e18c834db8e7f6
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.3.7'.freeze
2
+ VERSION = '1.3.9'.freeze
3
3
  end
@@ -180,6 +180,7 @@ module EffectiveTestBotFormFiller
180
180
  try_script "ArticleEditor('##{field['id']}').editor.insertContent({html: '#{value}'})"
181
181
  try_script "ArticleEditor('##{field['id']}').editor.build()"
182
182
  try_script "ArticleEditor('##{field['id']}').editor.getContent()"
183
+ try_script "$('body').click()"
183
184
  else
184
185
  field.set(value)
185
186
  end
@@ -68,6 +68,10 @@ module EffectiveTestBotTestHelper
68
68
  Array(all(selector).first).each { |field| within(field) { yield } }
69
69
  end
70
70
 
71
+ def within_last(selector, &block)
72
+ Array(all(selector).last).each { |field| within(field) { yield } }
73
+ end
74
+
71
75
  def within_tab(name, &block)
72
76
  first("a.nav-link#tab-#{name.parameterize}").click
73
77
  within_first("div.tab-pane##{name.parameterize}") { yield }
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.3.7
4
+ version: 1.3.9
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: 2022-09-16 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails