Fix tinymce in test

This commit is contained in:
Ari Timonen 2020-03-18 23:01:15 +02:00
parent 2bf16ba800
commit 61e90d58c0

View file

@ -7,7 +7,7 @@ module Features
end
def fill_tinymce(element, contents)
page.execute_script("$('#{element}').tinymce().setContent('#{contents}')")
page.execute_script("tinymce.get('#{element}').setContent('#{contents}')")
end
def submit(model, action)