mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
MDL-43911 Behat: Save dumps of the page content to disk on scenario failure
This commit is contained in:
parent
c5a229c2f1
commit
b954cb004c
2 changed files with 69 additions and 22 deletions
|
@ -667,9 +667,11 @@ $CFG->admin = 'admin';
|
|||
// Example:
|
||||
// $CFG->behat_extraallowedsettings = array('logsql', 'dblogerror');
|
||||
//
|
||||
// You can make behat save a screenshot when a scenario fails.
|
||||
// You can make behat save several dumps when a scenario fails. The dumps currently saved are:
|
||||
// * a dump of the DOM in it's state at the time of failure; and
|
||||
// * a screenshot (JavaScript is required for the screenshot functionality, so not all browsers support this option)
|
||||
// Example:
|
||||
// $CFG->behat_screenshots_path = '/my/path/to/save/screenshots';
|
||||
// $CFG->behat_faildump_path = '/my/path/to/save/failure/dumps';
|
||||
//
|
||||
//=========================================================================
|
||||
// 12. DEVELOPER DATA GENERATOR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue