Tests that paragraphs field does not allow default values.
public function testNoDefaultValue() {
$this
->loginAsAdmin();
$this
->addParagraphedContentType('paragraphed_test', 'paragraphs_field', 'entity_reference_paragraphs');
// 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: paragraphs_field.');
$this
->submitForm([], 'Save settings');
$this
->assertSession()
->pageTextContains('Saved paragraphs_field configuration.');
$this
->assertSession()
->statusCodeEquals(200);
}