Reviewed: https://reviews.mahara.org/5230 Committed: https://git.nzoss.org.nz/mahara/mahara/commit/8c9b805f4f372b95add8765b497429d294af3c92 Submitter: Aaron Wells ([email protected]) Branch: master
commit 8c9b805f4f372b95add8765b497429d294af3c92 Author: Son Nguyen <[email protected]> Date: Tue Sep 8 09:19:53 2015 +1200 Fix the Selenium2Driver issue when setValue. Bug 1407847 We must use the steps: And I set the field "field name" to "value" And I set the following fields to these values: in place of And I fill in "field name" with "value" And I fill in the following: Change-Id: I21a86756b6f994597aaf521f0a7cd4168ad1bf64 -- 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/1407847 Title: The text boxes aren't being cleared before Behat puts the new text in. Status in Mahara: Fix Committed Status in Mahara 15.04 series: In Progress Status in Mahara 15.10 series: Fix Committed Bug description: Hi Sonn, When you run a Behat test, some fields have default text in them and it's not being cleared so Behat can write the new text entry into that field. For example when you add a text block the default text in the Block title is Text. If the Behat test says And I fill in "Block title" with "Jabber" it will fill in the block with "TextJabber". Therefore any steps after that are looking for the block title will fail, because it says "TextJabber" not "Jabber". I have attached the first part of a test below that you can run. In this instance specifically, it is saving the first name as "test first namedmin" instead of "test first name". Thanks, Jinelle To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1407847/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

