Settings should only be loaded when necessary. Normally this is done by adding if ($hassiteconfig) { and if ($ADMIN->fulltree) { in the settings file.
Detected when running Behat tests:
Exception: Javascript code and/or AJAX requests are not ready after 10 seconds. There is a Javascript error or the code is extremely slow (block_openai_chat/settings).
Settings should only be loaded when necessary. Normally this is done by adding
if ($hassiteconfig) {
andif ($ADMIN->fulltree) {
in the settings file.Detected when running Behat tests:
Exception: Javascript code and/or AJAX requests are not ready after 10 seconds. There is a Javascript error or the code is extremely slow (block_openai_chat/settings).