moodle-an-hochschulen / moodle-theme_boost_union

Theme Boost Union is an enhanced child theme of Boost which is intended, on the one hand, to make Boost simply more configurable and, on the other hand, to provide helpful additional features for the daily Moodle operation of admins, teachers and students.
GNU General Public License v3.0
55 stars 49 forks source link

Cleanup: Introduce a dedicated Behat step to deactivate and activate debugging #670

Closed abias closed 3 weeks ago

abias commented 3 weeks ago

Up to now, we are using these Behat steps in multiple places:

    # We deactivate debugging for a while as the Behat step would otherwise fail due to the
    # stupid 'Too much data passed as arguments to js_call_amd' debugging message which can't be avoided
    # on this settings page. This debugging message can't be avoided as we simple use too much hide_if() there.
    And the following config values are set as admin:
      | debug        | 0 |
      | debugdisplay | 0 |
    # We reactivate debugging again.
    And the following config values are set as admin:
      | debug        | 32767 |
      | debugdisplay | 1     |

These should be compacted into custom steps. In addition to that, these steps should be added to the 'Look' page as they will be needed there sooner or later based on the huge amount of settings (in fact, on 4.1, they are needed already now - see https://github.com/moodle-an-hochschulen/moodle-theme_boost_union/actions/runs/9436868087/job/25992037521)