diff --git a/Civi/Test/PageWrapper.php b/Civi/Test/PageWrapper.php index f433ffb62d89..a020923699fe 100644 --- a/Civi/Test/PageWrapper.php +++ b/Civi/Test/PageWrapper.php @@ -37,6 +37,10 @@ public function __construct(string $class, array $urlParameters = []) { } public function run(): void { + // Ensure the system checks do not run in this context. + // The `checkAngularModuleSettings()` check is specifically likely + // to cause crashes but also there are other tests for the checks. + \CRM_Core_Session::singleton()->timer('check_CRM_Utils_Check', 86400); ob_start(); $this->page->run(); $this->output = ob_get_clean();