You are here

protected function LingotekTestBase::goToConfigBulkManagementForm in Lingotek Translation 3.1.x

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

Go to the config bulk management form and filter one kind of configuration.

Parameters

string $filter: Config name of the filter to apply. By default is NULL and will use the current one.

204 calls to LingotekTestBase::goToConfigBulkManagementForm()
ChineseBulkTranslationTest::testContentTypeTranslationUsingLinks in tests/src/Functional/ChineseBulkTranslationTest.php
Tests that a config can be translated using the links on the management page.
ChineseBulkTranslationTest::testSystemSiteTranslationUsingLinks in tests/src/Functional/ChineseBulkTranslationTest.php
Tests that a node can be translated using the links on the management page.
LingotekConfigBulkFormTest::testAssignInvalidJobIdsWithTMSUpdate in tests/src/Functional/Form/LingotekConfigBulkFormTest.php
Tests that we cannot assign job ids with invalid chars.
LingotekConfigBulkFormTest::testAssignJobIds in tests/src/Functional/Form/LingotekConfigBulkFormTest.php
Tests that can we assign job ids with the bulk operation.
LingotekConfigBulkFormTest::testAssignJobIdsWithTMSUpdate in tests/src/Functional/Form/LingotekConfigBulkFormTest.php
Tests that can we assign job ids with the bulk operation with TMS update.

... See full list

File

tests/src/Functional/LingotekTestBase.php, line 199

Class

LingotekTestBase
Base class for Lingotek test. Performs authorization of the account.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function goToConfigBulkManagementForm($filter = NULL) {
  $this
    ->drupalGet('admin/lingotek/config/manage');
  if ($filter !== NULL) {
    $edit = [
      'filters[wrapper][bundle]' => $filter,
    ];
    $this
      ->drupalPostForm(NULL, $edit, t('Filter'));
  }
}