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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3374c0b19e6257e6c13dedfd31d16356890c02aff87a930a54f3e7f594074415
|
4
|
+
data.tar.gz: 499997af0582f9a1ef1ae481e42494710e6a7b2efbf42e41e5c61eb6a91085bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b500fc8e1e05415c42d095d19e9ee4b77243b87078f31cf847c25e125db6efe331e26fde343bfb2f33158c7f3b109a25dd074646e87103896d289a8ad98c054a
|
7
|
+
data.tar.gz: 9097c502ff6819363efe340cfe1e58b7036f1201a6f5547b8e1d1def1e3a332ffb2b9585b5442e6518acccd568db6c1f1542b5241cde3a8ab8e18c834db8e7f6
|
@@ -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.
|
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-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|