You are here

protected function OffCanvasTestBase::assertAllContextualLinksLoaded in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php \Drupal\Tests\system\FunctionalJavascript\OffCanvasTestBase::assertAllContextualLinksLoaded()
  2. 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\FunctionalJavascript

Code

protected function assertAllContextualLinksLoaded() {
  $this
    ->assertSession()
    ->assertNoElementAfterWait('css', '[data-contextual-id]:empty');
}