function OpenTelemetryAuthenticatedPerformanceTest::testAuthenticatedPerformance
Same name and namespace in other branches
- 11.x core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryAuthenticatedPerformanceTest.php \Drupal\Tests\demo_umami\FunctionalJavascript\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 to avoid AJAX requests while recording
// performance data.
\Drupal::service('module_installer')->uninstall([
'toolbar',
]);
\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.