protected function WebprofilerTestBase::waitForToolbar in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/tests/src/FunctionalJavascript/WebprofilerTestBase.php \Drupal\Tests\webprofiler\FunctionalJavascript\WebprofilerTestBase::waitForToolbar()
- 8.2 webprofiler/tests/src/FunctionalJavascript/WebprofilerTestBase.php \Drupal\Tests\webprofiler\FunctionalJavascript\WebprofilerTestBase::waitForToolbar()
- 4.x webprofiler/tests/src/FunctionalJavascript/WebprofilerTestBase.php \Drupal\Tests\webprofiler\FunctionalJavascript\WebprofilerTestBase::waitForToolbar()
Wait until the toolbar is present on page.
2 calls to WebprofilerTestBase::waitForToolbar()
- ToolbarTest::testToolbarNotAppearsOnExcludedPath in webprofiler/
tests/ src/ FunctionalJavascript/ ToolbarTest.php - Tests the toolbar not appears on excluded path.
- ToolbarTest::testToolbarOnFrontPage in webprofiler/
tests/ src/ FunctionalJavascript/ ToolbarTest.php - Tests if the toolbar appears on front page.
File
- webprofiler/
tests/ src/ FunctionalJavascript/ WebprofilerTestBase.php, line 22
Class
- WebprofilerTestBase
- Class WebprofilerTestBase.
Namespace
Drupal\Tests\webprofiler\FunctionalJavascriptCode
protected function waitForToolbar() {
$assert_session = $this
->assertSession();
$assert_session
->waitForText(\Drupal::VERSION);
}