← Back to team overview

mahara-contributors team mailing list archive

[Bug 1557200] Re: Allow for easier filling out of a tinymce form behat step

 

The ability to access a tinymce did already exist but this patch
actually changes things so you don't have to hunt through the html code
for the iframe id

Now you can simply use the field label text, which will normally be
visible to the screen.

In the case of the 'comments' tinymce this label is hidden with css but
it's label is 'Message' which is a lot easier to remember than
'add_feedback_form_message_ifr'

** Changed in: mahara
    Milestone: 16.04.0 => 16.10.0

** Changed in: mahara
       Status: Fix Released => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1557200

Title:
  Allow for easier filling out of a tinymce form behat step

Status in Mahara:
  Fix Committed

Bug description:
  Currently we have a long clumsy way to do it by finding out the id of
  the iframe, eg

  And I fill in "This is a description" in WYSIWYG editor
  "edit_interaction_description_ifr"

  It would be better if the step itself could find the right iframe and
  fill in the text

  eg: And I fill in "This is a description" in editor "Description"

  where 'Description' is the label for the editor

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1557200/+subscriptions


References