public function ToolbarTest::testToolbarReportPage in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/tests/src/FunctionalJavascript/ToolbarTest.php \Drupal\Tests\webprofiler\FunctionalJavascript\ToolbarTest::testToolbarReportPage()
- 8 webprofiler/tests/src/FunctionalJavascript/ToolbarTest.php \Drupal\Tests\webprofiler\FunctionalJavascript\ToolbarTest::testToolbarReportPage()
- 4.x webprofiler/tests/src/FunctionalJavascript/ToolbarTest.php \Drupal\Tests\webprofiler\FunctionalJavascript\ToolbarTest::testToolbarReportPage()
Tests the toolbar report page.
File
- webprofiler/
tests/ src/ FunctionalJavascript/ ToolbarTest.php, line 47
Class
- ToolbarTest
- Tests the JavaScript functionality of webprofiler.
Namespace
Drupal\Tests\webprofiler\FunctionalJavascriptCode
public function testToolbarReportPage() {
$this
->loginForDashboard();
$this
->drupalGet('<front>');
$token = $this
->waitForToolbar();
$this
->drupalGet('admin/reports/profiler/list');
$assert = $this
->assertSession();
$assert
->pageTextContains($token);
}