You are here

protected function ParagraphsStylePluginTest::setUp in Paragraphs Collection 8

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/ParagraphsStylePluginTest.php, line 46

Class

ParagraphsStylePluginTest
Tests the style selection plugin.

Namespace

Drupal\Tests\paragraphs_collection\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();

  // Place the breadcrumb, tested in fieldUIAddNewField().
  $this
    ->drupalPlaceBlock('system_breadcrumb_block');
  $this
    ->drupalPlaceBlock('local_tasks_block');
  $this
    ->drupalPlaceBlock('local_actions_block');
  $this
    ->drupalPlaceBlock('page_title_block');
  $this->admin_permissions = [
    'administer content types',
    'administer node fields',
    'administer paragraphs types',
    'administer node form display',
    'administer paragraph fields',
    'administer paragraph form display',
  ];
}