function OpenTelemetryAuthenticatedPerformanceTest::testAuthenticatedPerformance
Logs authenticated tracing data.
File
-
core/
profiles/ demo_umami/ tests/ src/ FunctionalJavascript/ OpenTelemetryAuthenticatedPerformanceTest.php, line 30
Class
- OpenTelemetryAuthenticatedPerformanceTest
- Tests demo_umami profile performance.
Namespace
Drupal\Tests\demo_umami\FunctionalJavascriptCode
public function testAuthenticatedPerformance() : void {
// Replace toolbar with navigation and uninstall history to avoid AJAX
// requests while recording performance data.
\Drupal::service('module_installer')->uninstall([
'toolbar',
'history',
]);
\Drupal::service('module_installer')->install([
'navigation',
]);
$this->doTestFrontPageAuthenticatedWarmCache();
$this->doTestNodePageAdministrator();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.