You are here

public function LayoutBuilderRestrictionsTestBase::navigateToNodeLayout in Layout Builder Restrictions 8.2

Navigation helper.

2 calls to LayoutBuilderRestrictionsTestBase::navigateToNodeLayout()
BlockPlacementBlacklistTest::testBlockRestriction in modules/layout_builder_restrictions_by_region/tests/src/FunctionalJavascript/BlockPlacementBlacklistTest.php
Verify that the UI can restrict blocks in Layout Builder settings tray.
BlockPlacementWhitelistTest::testBlockRestriction in modules/layout_builder_restrictions_by_region/tests/src/FunctionalJavascript/BlockPlacementWhitelistTest.php
Verify that the UI can restrict blocks in Layout Builder settings tray.

File

tests/src/FunctionalJavascript/LayoutBuilderRestrictionsTestBase.php, line 81

Class

LayoutBuilderRestrictionsTestBase
General-purpose methods for testing restrictions.

Namespace

Drupal\Tests\layout_builder_restrictions\FunctionalJavascript

Code

public function navigateToNodeLayout($node_id) {
  $this
    ->drupalGet('/node/' . $node_id . '/layout');
}