effective_test_bot 1.3.17 → 1.3.18
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: 22657012b01a860a27bbf2e4ee36a2a34d48c802f33fb9a777810a66f06c02f4
|
4
|
+
data.tar.gz: 14b689c23f47ab81cb189fe7a61fa9a40c651bdf09390779bebea08385bdb95a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bffeb270117ad5172eb30be35513ba839d399cab33fd0dd37edd6030286891a3737dfa4aecbdfcad2d9f75e697464d0785de75dbe315f61262731fd11a541007
|
7
|
+
data.tar.gz: 92b0010f86c5d6a1de18f3c2774187f20363746bc7ca4719cff23af331193538cc427e9bc280b4a1dac2eed75d3c588ed20877ea65342da26b268c4b26569b31
|
@@ -176,11 +176,13 @@ module EffectiveTestBotFormFiller
|
|
176
176
|
try_script "CKEDITOR.instances['#{field['id']}'].setData('#{value}')"
|
177
177
|
elsif article_editor_text_area?(field)
|
178
178
|
value = "<p>#{value.gsub("'", '')}</p>"
|
179
|
-
|
180
|
-
|
181
|
-
try_script "ArticleEditor('##{field['id']}').
|
182
|
-
|
183
|
-
|
179
|
+
|
180
|
+
# There are weird mouse events that prevent form submission.
|
181
|
+
try_script "ArticleEditor('##{field['id']}').stop()"
|
182
|
+
field.set(value)
|
183
|
+
|
184
|
+
try_script "ArticleEditor('##{field['id']}').start()"
|
185
|
+
try_script "ArticleEditor('##{field['id']}').disable()"
|
184
186
|
else
|
185
187
|
field.set(value)
|
186
188
|
end
|
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.18
|
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: 2023-07-
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|