← Back to team overview

mahara-contributors team mailing list archive

[Bug 1767933] Re: Behat copies html styling regardless of whether the option for an html report is passed in

 

** Changed in: mahara
       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/1767933

Title:
  Behat copies html styling regardless of whether the option for an html
  report is passed in

Status in Mahara:
  Fix Released

Bug description:
  When running behat tests with the html flag as in:
  ./test/behat/mahara_behat.sh run test.feature html
  the styling needs to be copied over to the plugin folder to make the report display correctly.

  If the test is being run without 'html', there is no need for the
  styling to be copied over. Currently this happens regardless.

  Currently the function set_report_styling is called during behat setup
  from /htdocs/testing/frameworks/behat/cli/util.php. In order to fix
  this there should be an if statement around that call.

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


References