You are here

public function LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()
  2. 4.0.x tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()
  3. 3.0.x tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()
  4. 3.1.x tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()
  5. 3.2.x tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()
  6. 3.3.x tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()
  7. 3.5.x tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()
  8. 3.6.x tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()
  9. 3.7.x tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()
  10. 3.8.x tests/src/Functional/Form/LingotekConfigBulkFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekConfigBulkFormTest::testLabelsAndLinksWhenAvailable()

Tests that config listed links to the config when there are links available.

File

tests/src/Functional/Form/LingotekConfigBulkFormTest.php, line 1295

Class

LingotekConfigBulkFormTest
Tests the config bulk management form.

Namespace

Drupal\Tests\lingotek\Functional\Form

Code

public function testLabelsAndLinksWhenAvailable() {
  $assert_session = $this
    ->assertSession();
  $this
    ->goToConfigBulkManagementForm();
  $this
    ->assertText('System maintenance');
  $assert_session
    ->linkNotExists('System maintenance');
  $this
    ->goToConfigBulkManagementForm('configurable_language');
  $assert_session
    ->linkExists('Spanish language');
}