effective_test_bot 1.3.5 → 1.3.7
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: c8afeb68eaeb58c0d615fcacf959fa52cfc6a0086edfd9aac72ecd7074c3c85f
|
4
|
+
data.tar.gz: 12a5979dbe8a65cb48e348cb28707c652b8f54cf362dffb60dd19b94bbe65cbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb1302de561052019e721e1f183199075bc6b6d4a2906b64fd80466334ecef155f9737077355ab8eba8931e40fd0dacfdc3d790d69c36783c9d976537e23af16
|
7
|
+
data.tar.gz: b2dde5b77a15398aa2c7a97a0bb0370c92f312dae0ceedfd74e5e605bfe924e5bd1af6a3ade358d46e02421ff771935c7e747c2aa898b6afb0b8f88f7698db31
|
@@ -176,9 +176,10 @@ 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
|
-
try_script "ArticleEditor('##{field['id']}').editor.
|
179
|
+
try_script "ArticleEditor('##{field['id']}').editor.setContent({html: '#{value}'})"
|
180
180
|
try_script "ArticleEditor('##{field['id']}').editor.insertContent({html: '#{value}'})"
|
181
|
-
try_script "ArticleEditor('##{field['id']}').editor.
|
181
|
+
try_script "ArticleEditor('##{field['id']}').editor.build()"
|
182
|
+
try_script "ArticleEditor('##{field['id']}').editor.getContent()"
|
182
183
|
else
|
183
184
|
field.set(value)
|
184
185
|
end
|