You are here

public function LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings in Lingotek Translation 3.5.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
  2. 4.0.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
  3. 3.0.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
  4. 3.1.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
  5. 3.2.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
  6. 3.3.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
  7. 3.4.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
  8. 3.6.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
  9. 3.7.x tests/src/Functional/Form/LingotekSettingsTabParagraphsIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabParagraphsIntegrationFormTest::testTabShownIfThereAreSettings()
  10. 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\Form

Code

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.');
}