public function LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
- 3.0.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
- 3.1.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
- 3.2.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
- 3.3.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
- 3.4.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
- 3.5.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
- 3.6.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
- 3.7.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
- 3.8.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testOtherBulkTabsAreShownAfterDeactivating()
Test that all tabs are shown.
File
- tests/
src/ Functional/ Form/ LingotekSettingsTabParagraphsIntegrationFormTest.php, line 170
Class
- LingotekSettingsTabParagraphsIntegrationFormTest
- Tests the Lingotek integrations settings form with paragraphs.
Namespace
Drupal\Tests\lingotek\Functional\FormCode
public function testOtherBulkTabsAreShownAfterDeactivating() {
$this
->testBulkTabCanBeDeactivated();
$bundle = $this->vocabulary
->id();
$this
->saveLingotekContentTranslationSettings([
'taxonomy_term' => [
$bundle => [
'profiles' => 'automatic',
'fields' => [
'name' => 1,
'description' => 1,
],
],
],
]);
// Now the taxonomy tab should be shown.
$this
->goToContentBulkManagementForm();
$this
->assertResponse(200);
$this
->assertLink('Content');
$this
->assertNoLink('Paragraph');
$this
->assertLink('Taxonomy term');
$this
->goToContentBulkManagementForm('taxonomy_term');
$this
->assertResponse(200);
$this
->assertLink('Content');
$this
->assertNoLink('Paragraph');
$this
->assertLink('Taxonomy term');
}