Behat step for entering text into a dynamically named TinyMCE field

Bug #1540722 reported by Aaron Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Aaron Wells
15.04
Fix Released
Medium
Unassigned
15.10
Fix Released
Medium
Unassigned

Bug Description

Many of our TinyMCE fields are dynamically assigned IDs, which makes them not usable with the current "And I fill in <text> in WYSIWYG editor <iframe id>" step.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/5997

Revision history for this message
Aaron Wells (u-aaronw) wrote :

Changed the step so that it can either name a specific iframe, or leave out the name and just use the first TinyMCE on the page:

Option 1: And I fill in text "Testing 123" in WYSIWYG editor "add_feedback_from_form_message_ifr"
Option 2: And I fill in text "Testing 123" in WYSIWYG editor

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5997
Committed: https://git.mahara.org/mahara/mahara/commit/dc96746ecc22a6dd1e8c866c564fdde3f8d9d058
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit dc96746ecc22a6dd1e8c866c564fdde3f8d9d058
Author: Aaron Wells <email address hidden>
Date: Tue Feb 2 17:15:50 2016 +1300

Behat step for entering text into a dynamically named TinyMCE field

Bug 1540722: Use "And I fill in <text> in WYSIWYG editor", and it
just uses the first TinyMCE on the page.

behatnotneeded: Tested in subsequent commit

Change-Id: I69368751aaf7256bc6cedaa8e4ab3a5413c68f87

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.10_STABLE" branch: https://reviews.mahara.org/6038

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/6038
Committed: https://git.mahara.org/mahara/mahara/commit/6a12abdec7e86280803393cd2caf2a135ff4d46d
Submitter: Aaron Wells (<email address hidden>)
Branch: 15.10_STABLE

commit 6a12abdec7e86280803393cd2caf2a135ff4d46d
Author: Aaron Wells <email address hidden>
Date: Tue Feb 2 17:15:50 2016 +1300

Behat step for entering text into a dynamically named TinyMCE field

Bug 1540722: Use "And I fill in <text> in WYSIWYG editor", and it
just uses the first TinyMCE on the page.

behatnotneeded: Tested in subsequent commit

Change-Id: I69368751aaf7256bc6cedaa8e4ab3a5413c68f87
(cherry picked from commit dc96746ecc22a6dd1e8c866c564fdde3f8d9d058)

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/6039

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/6039
Committed: https://git.mahara.org/mahara/mahara/commit/dc9b341e747de083011f5e4707c9f5f8942bd398
Submitter: Aaron Wells (<email address hidden>)
Branch: 15.04_STABLE

commit dc9b341e747de083011f5e4707c9f5f8942bd398
Author: Aaron Wells <email address hidden>
Date: Tue Feb 2 17:15:50 2016 +1300

Behat step for entering text into a dynamically named TinyMCE field

Bug 1540722: Use "And I fill in <text> in WYSIWYG editor", and it
just uses the first TinyMCE on the page.

behatnotneeded: Tested in subsequent commit

Change-Id: I69368751aaf7256bc6cedaa8e4ab3a5413c68f87
(cherry picked from commit dc96746ecc22a6dd1e8c866c564fdde3f8d9d058)
(cherry picked from commit 6a12abdec7e86280803393cd2caf2a135ff4d46d)

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.