public function LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
- 4.0.x tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
- 3.0.x tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
- 3.1.x tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
- 3.2.x tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
- 3.3.x tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
- 3.4.x tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
- 3.5.x tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
- 3.6.x tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
- 3.7.x tests/src/Functional/Form/LingotekParagraphsBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekParagraphsBulkFormTest::testParagraphsParentShownOnListing()
File
- tests/
src/ Functional/ Form/ LingotekParagraphsBulkFormTest.php, line 83
Class
- LingotekParagraphsBulkFormTest
- Tests the bulk management form integration with Paragraphs.
Namespace
Drupal\Tests\lingotek\Functional\FormCode
public function testParagraphsParentShownOnListing() {
$assert_session = $this
->assertSession();
$this
->addDemoContent();
$edit = [
'contrib[paragraphs][enable_bulk_management]' => 1,
];
$this
->drupalPostForm(NULL, $edit, 'Save settings', [], 'lingoteksettings-integrations-form');
$this
->assertText('The configuration options have been saved.');
$this
->goToContentBulkManagementForm('paragraph');
$this
->assertText('Parent');
$assert_session
->linkExists('Welcome to the Paragraphs Demo module!', 4);
$assert_session
->linkExists('Library item');
}