Behat needs to be able to fill in a tinymce editor

Bug #1447449 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Robert Lyon
15.04
Fix Released
Low
Robert Lyon
15.10
Fix Released
Undecided
Unassigned

Bug Description

Currently we can't fill in a field if the field is overriden by a tinymce editor as the field will be seen as hidden.

We need to add a behat step to allow the tinymce editor to be filled in rather than the <textarea> field underlying it

Tags: behat
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/4688

Revision history for this message
Robert Lyon (robertl-9) wrote :

Will backport to 15.04 as it'll be needed for behat tests that we should also backport as they were not finished when the release came out

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

Reviewed: https://reviews.mahara.org/4688
Committed: http://gitorious.org/mahara/mahara/commit/183bc9ec12073a174102849cb02112f390980ec3
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 183bc9ec12073a174102849cb02112f390980ec3
Author: Robert Lyon <email address hidden>
Date: Thu Apr 23 16:49:00 2015 +1200

Adding ability to fill in a tinymce form (Bug #1447449)

Change-Id: I54d06c5201a87e5e6edbd6f9d1134b53b44a30d9
Signed-off-by: Robert Lyon <email address hidden>

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.04_STABLE" branch: https://reviews.mahara.org/4729

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

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

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

Reviewed: https://reviews.mahara.org/4729
Committed: http://gitorious.org/mahara/mahara/commit/fc50b8ff7459b0a349c0014908abc21bcc12cf85
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit fc50b8ff7459b0a349c0014908abc21bcc12cf85
Author: Robert Lyon <email address hidden>
Date: Thu Apr 23 16:49:00 2015 +1200

Adding ability to fill in a tinymce form (Bug #1447449)

Change-Id: I54d06c5201a87e5e6edbd6f9d1134b53b44a30d9
Signed-off-by: Robert Lyon <email address hidden>

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

Reviewed: https://reviews.mahara.org/4758
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/78a363d8ea12c984a161d5b569d1acd6efa8aa06
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 78a363d8ea12c984a161d5b569d1acd6efa8aa06
Author: Son Nguyen <email address hidden>
Date: Mon May 11 10:56:05 2015 +1200

Implement the step "I set the field ABC to XYZ" for HTML editor

Bug 1447449

Change-Id: Id2991f1d2e6b8aa16b52eaf95cdcc6bbe7543265

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

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

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

Reviewed: https://reviews.mahara.org/4737
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/a06da646ff45b8186c91554ef1480399093abd8a
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit a06da646ff45b8186c91554ef1480399093abd8a
Author: Jinelle Foley-Barnes <email address hidden>
Date: Tue May 5 10:17:23 2015 +1200

Behat Test: Tinymce Editor (Bug 1447449)

The description element cannot be interacted with still, we can interact
with a TinyMCE field via:
And I fill in "text" in WYSIWYG editor "editview_description_ifr"

But what we are needing is the ability for behat to work out that
the <textarea> is hidden and so to cehck if it has a TinyMCE editor in
play and use that instead.

Instead of fixing the behat test we should fix behat itself.

Change-Id: I06f57bea875394d14f51ca1baa0ffe1ed012b791

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

Reviewed: https://reviews.mahara.org/4800
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/6db42a4fee92b1813a663921eb584792a0c5643d
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit 6db42a4fee92b1813a663921eb584792a0c5643d
Author: Son Nguyen <email address hidden>
Date: Mon May 11 10:56:05 2015 +1200

Implement the step "I set the field ABC to XYZ" for HTML editor

Bug 1447449

Change-Id: Id2991f1d2e6b8aa16b52eaf95cdcc6bbe7543265

Robert Lyon (robertl-9)
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.