This is an issue of selenium driver reported here https://github.com/minkphp/MinkSelenium2Driver/issues/188 and https://github.com/minkphp/MinkSelenium2Driver/issues/198. This issue will happen to all 'autofocus' input elements, like
<input type="text" class="form-control required text autofocus" id="profileform_firstname" name="firstname" size="30" tabindex="0" maxlength="50" value="Admin"> I will try to implement a work-around -- 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: Confirmed Status in Mahara 15.04 series: Confirmed Status in Mahara 15.10 series: Confirmed 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 : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp