You are here

protected function WebformBrowserTestTrait::placeBlocks in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/src/Traits/WebformBrowserTestTrait.php \Drupal\Tests\webform\Traits\WebformBrowserTestTrait::placeBlocks()

Place breadcrumb page, tasks, and actions.

8 calls to WebformBrowserTestTrait::placeBlocks()
WebformBrowserTestBaseTest::testWebformBase in tests/src/Functional/WebformBrowserTestBaseTest.php
Test base helper methods.
WebformCardsUiJavaScriptTest::testUi in modules/webform_cards/tests/src/FunctionalJavaScript/WebformCardsUiJavaScriptTest.php
Test webform cards UI.
WebformEntityTranslationTest::setUp in tests/src/Functional/WebformEntityTranslationTest.php
WebformNodeResultsTest::setUp in modules/webform_node/tests/src/Functional/WebformNodeResultsTest.php
WebformSettingsAccessDeniedTest::setUp in tests/src/Functional/Settings/WebformSettingsAccessDeniedTest.php

... See full list

File

tests/src/Traits/WebformBrowserTestTrait.php, line 28

Class

WebformBrowserTestTrait
Provides convenience methods for webform assertions in browser tests.

Namespace

Drupal\Tests\webform\Traits

Code

protected function placeBlocks() {
  $this
    ->drupalPlaceBlock('system_breadcrumb_block');
  $this
    ->drupalPlaceBlock('page_title_block');
  $this
    ->drupalPlaceBlock('local_tasks_block');
  $this
    ->drupalPlaceBlock('local_actions_block');
}