← Back to team overview

mahara-contributors team mailing list archive

[Bug 1407847] Re: The text boxes aren't being cleared before Behat puts the new text in.

 

** Changed in: mahara/15.04
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released

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