You are here

private function LayoutBuilderUiTest::assertHighlightNotExists in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderUiTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderUiTest::assertHighlightNotExists()
  2. 9 core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderUiTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderUiTest::assertHighlightNotExists()

Waits for the dialog to close and confirms no highlights are present.

File

core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderUiTest.php, line 290

Class

LayoutBuilderUiTest
Tests the Layout Builder UI.

Namespace

Drupal\Tests\layout_builder\FunctionalJavascript

Code

private function assertHighlightNotExists() : void {
  $this
    ->markTestSkipped("Skipped temporarily for random fails.");
  $assert_session = $this
    ->assertSession();
  $assert_session
    ->assertNoElementAfterWait('css', '#drupal-off-canvas');
  $assert_session
    ->assertNoElementAfterWait('css', '.is-layout-builder-highlighted');
}