Tests that paragraphs field does not allow default values.
public function testNoDefaultValue() {
$this
->loginAsAdmin();
$this
->addParagraphedContentType('paragraphed_test');
// Edit the field.
$this
->drupalGet('admin/structure/types/manage/paragraphed_test/fields');
$this
->clickLink('Edit');
// Check that the current field does not allow to add default values.
$this
->assertSession()
->pageTextContains('No widget available for: field_paragraphs.');
$this
->submitForm([], 'Save settings');
$this
->assertSession()
->pageTextContains('Saved field_paragraphs configuration.');
$this
->assertSession()
->statusCodeEquals(200);
}