mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #29130
[Bug 1407847] Re: The text boxes aren't being cleared before Behat puts the new text in.
** Attachment added: "Screenshot from 2015-09-21 17:11:32.png"
https://bugs.launchpad.net/mahara/+bug/1407847/+attachment/4470005/+files/Screenshot%20from%202015-09-21%2017%3A11%3A32.png
--
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:
In Progress
Status in Mahara 15.04 series:
Confirmed
Status in Mahara 15.10 series:
In Progress
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
References