-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.5
-
None
-
MOODLE_405_STABLE
I tried to expend the plugin tiny_wordlimit to also show the wordlimit indicator on the preview of quiz questions (PullRequest). While writing behat tests I discovered that the autosave seems to slow the page down, though it is not needed at all in this case.
001 Scenario: Display maximum wordlimit in essay question preview # /var/www/html/moodle/lib/editor/tiny/plugins/wordlimit/tests/behat/wordlimit.feature:97
|
And I wait "20" seconds # /var/www/html/moodle/lib/editor/tiny/plugins/wordlimit/tests/behat/wordlimit.feature:122
|
Exception: Javascript code and/or AJAX requests are not ready after 30 seconds. There is a Javascript error or the code is extremely slow (random67f3a990e23ab6:tiny_autosave/repository:resumeAutosaveSession). If you are using a slow machine, consider setting $CFG->behat_increasetimeout. in /var/www/html/moodle/lib/behat/classes/behat_session_trait.php:897
|