function LayoutBuilderTest::assertPageNotReloaded

Same name in other branches
  1. 8.9.x core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderTest::assertPageNotReloaded()
  2. 10 core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderTest::assertPageNotReloaded()
  3. 11.x core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderTest::assertPageNotReloaded()

Asserts that the page has not been reloaded.

@todo Remove in https://www.drupal.org/project/drupal/issues/2909782.

2 calls to LayoutBuilderTest::assertPageNotReloaded()
LayoutBuilderTest::testConfigurableLayoutSections in core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php
Tests configurable layouts.
LayoutBuilderTest::testLayoutBuilderUi in core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php
Tests the Layout Builder UI.

File

core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php, line 514

Class

LayoutBuilderTest
Tests the Layout Builder UI.

Namespace

Drupal\Tests\layout_builder\FunctionalJavascript

Code

private function assertPageNotReloaded() : void {
    $this->assertSession()
        ->pageTextContains($this->pageReloadMarker);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.