diff --git a/lib/behat/classes/util.php b/lib/behat/classes/util.php index 93ffb91fadc..95b3faa53e9 100644 --- a/lib/behat/classes/util.php +++ b/lib/behat/classes/util.php @@ -114,6 +114,9 @@ class behat_util extends testing_util { // Enable web cron. set_config('cronclionly', 0); + // Set editor autosave to high value, so as to avoid unwanted ajax. + set_config('autosavefrequency', '604800', 'editor_atto'); + // Keeps the current version of database and dataroot. self::store_versions_hash();