public function LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
- 4.0.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
- 3.0.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
- 3.1.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
- 3.2.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
- 3.3.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
- 3.4.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
- 3.6.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
- 3.7.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
- 3.8.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
Test that if there are no integration settings, there is no tab at all.
File
- tests/
src/ Functional/ Form/ LingotekSettingsTabParagraphsIntegrationFormTest.php, line 114
Class
- LingotekSettingsTabParagraphsIntegrationFormTest
- Tests the Lingotek integrations settings form with paragraphs.
Namespace
Drupal\Tests\lingotek\Functional\FormCode
public function testTabShownIfThereAreSettings() {
$this
->drupalGet('admin/lingotek/settings');
$this
->assertText('Integrations Settings');
$this
->assertText('Paragraphs');
$this
->assertText('Enable paragraphs to be managed individually instead of embedded in their parent entity.');
}