You are here

private function LayoutBuilderTest::assertPageNotReloaded in Drupal 8

Same name and namespace in other branches
  1. 9 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 493

Class

LayoutBuilderTest
Tests the Layout Builder UI.

Namespace

Drupal\Tests\layout_builder\FunctionalJavascript

Code

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