← Back to team overview

mahara-contributors team mailing list archive

[Bug 1696627] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7823
Committed: https://git.mahara.org/mahara/mahara/commit/e35e3528cf8738b4d2010650ccf3b726f9af347a
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit e35e3528cf8738b4d2010650ccf3b726f9af347a
Author: Rebecca Blundell <rebecca.blundell@xxxxxxxxxxxxxxx>
Date:   Wed Jun 14 11:19:10 2017 +1200

Bug #1696627: Behat HTML report

- Updated details for behat.yml config to BehatConfigManager and a call
to update the file
- Added BehatHooks to get screenshots on fail. Screenshots are saved in the
Behat maharadata directory at /behat/results/html/screenshots
- Added auto-open of report
- Added some explanatory notes on how to run report

If you set the "html" flag as third parameter of the Behat command, you can
generate the HTML report. The report will be saved in the Behat
dataroot under behat/html_results

If you accidentially set the "html" flag as 2nd parameter it will
instead show help info

behatnotneeded

Change-Id: I76c67a1148278efa049317b526fef760c1a43ded

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

Title:
  Steps for creating a html report and a screenshot for behat tests

Status in Mahara:
  Fix Committed

Bug description:
  Here are the steps to follow for creating a html report and to take a
  screenshot while running a behat test.

  http://paste.wgtn.cat-it.co.nz/745771#vagS+rJ/E66AbNjC0AB5yw

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


References