Behat step for entering text into a dynamically named TinyMCE field

Bug #1540722 reported by Aaron Wells on 2016-02-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Medium
Aaron Wells
15.04
Medium
Unassigned
15.10
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.

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

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) on 2016-02-03
Changed in mahara:
status: In Progress → Fix Committed

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)

Mahara Bot (dev-mahara) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers