Tests the field creation when no Paragraphs types are available.
public function testEmptyAllowedTypes() {
$this
->loginAsAdmin();
$this
->addParagraphedContentType('paragraphed_test');
// Edit the field and save when there are no Paragraphs types available.
$this
->drupalGet('admin/structure/types/manage/paragraphed_test/fields');
$this
->clickLink('Edit');
$this
->submitForm([], 'Save settings');
$this
->assertSession()
->pageTextContains('Saved field_paragraphs configuration.');
}