MDL-56898 behat: Increase autosavefrequency for behat tests
We don't need editor to autosave, as this cause unwanted ajax request
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user