Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.3.2, 3.5.3, 3.6, 3.7
-
Component/s: Automated functional tests (behat)
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_33_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_35_STABLE, MOODLE_36_STABLE
-
Pull from Repository:
-
Pull 3.5 Branch:
MDL-60418_35 -
Pull 3.5 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
When you run the behat init script it comes up with this error...
Error: $CFG->behat_dataroot, $CFG->behat_prefix and $CFG->behat_wwwroot need to be set in config.php.Ensure you set $CFG->behat_* vars in config.php and you ran admin/tool/behat/cli/init.php.
{{ More info in http://docs.moodle.org/dev/Acceptance_testing#Installation}}
However, that link doesn't exist. The page does, but there is no installation section and no mention of $CFG variables on the page. So either the docs page is wrong or the error message is wrong. They certainly don't match