← Back to team overview

mahara-contributors team mailing list archive

[Bug 1732297] A patch has been submitted for review

 

Patch for "master" branch: https://reviews.mahara.org/8280

-- 
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/1732297

Title:
  Remove unnecessary steps from behat tests

Status in Mahara:
  In Progress

Bug description:
  In a lot of cases, there are repeated and unnecessary steps being done
  in tests. For instance, a test that has nothing to do with logging in
  will have:

      Given I log in as "admin" with password "Kupuhipa1"
      # Verifying log in was successful
      And I should see "Admin User"

  We don't need to check the login works every time.
  Also, there are a lot of cases where we could add a new page in the background (i.e, it is not a manual add page test) and instead it is done manually in a collection of steps.

  Fixing these things should improve performance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1732297/+subscriptions


References