public function LayoutParagraphsTest::testLayoutParagraphsConfiguration in Layout Paragraphs 2.0.x
Tests configuring a new layout paragraphs field.
File
- tests/
src/ Functional/ LayoutParagraphsTest.php, line 80
Class
- LayoutParagraphsTest
- Tests adding a new layout section to layout paragraphs.
Namespace
Drupal\Tests\layout_paragraphs\FunctionalCode
public function testLayoutParagraphsConfiguration() {
$this
->loginWithPermissions([
'create page content',
'edit own page content',
]);
$this
->drupalGet('node/add/page');
$this
->assertSession()
->pageTextContains('field_content');
}