protected function OffCanvasTestBase::assertAllContextualLinksLoaded in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::assertAllContextualLinksLoaded()
- 9 core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::assertAllContextualLinksLoaded()
Assert all contextual link areas have be loaded.
Contextual link placeholders will be filled after the page is received.
@todo Move this function to https://www.drupal.org/node/2821724.
File
- core/
modules/ system/ tests/ src/ FunctionalJavascript/ OffCanvasTestBase.php, line 51
Class
- OffCanvasTestBase
- Base class contains common test functionality for the Off-canvas dialog.
Namespace
Drupal\Tests\system\FunctionalJavascriptCode
protected function assertAllContextualLinksLoaded() {
$this
->assertSession()
->assertNoElementAfterWait('css', '[data-contextual-id]:empty');
}