Simplify CKEditor translatable fields in specs

We've simplified the way CKEditor is handled in tests; probably due to
that, we don't need this method anymore.
This commit is contained in:
Javi Martín
2020-04-10 15:14:15 +02:00
parent 06bc72cc66
commit a0ea1f6ecb
2 changed files with 2 additions and 8 deletions

View File

@@ -44,12 +44,6 @@ module Verifications
end
end
def fill_in_translatable_ckeditor(field, locale, params = {})
selector = ".translatable-fields[data-locale='#{locale}'] textarea[id$='_#{field}']"
locator = find(selector, visible: false)[:id]
fill_in_ckeditor(locator, params)
end
# @param [String] locator label text for the textarea or textarea id
def fill_in_ckeditor(locator, params = {})
# Find out ckeditor id at runtime using its label