protected function LingotekNodeBulkTranslationTest::assertSelectionIsKept in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- 4.0.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- 3.1.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- 3.2.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- 3.3.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- 3.4.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- 3.5.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- 3.6.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- 3.7.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- 3.8.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::assertSelectionIsKept()
Assert the selected action and key are kept.
Parameters
string $key: The selection key.
1 call to LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- LingotekNodeBulkTranslationTest::testDeleteMissingTranslation in tests/
src/ Functional/ LingotekNodeBulkTranslationTest.php - Tests that translations can be deleted using the actions on the management page.
1 method overrides LingotekNodeBulkTranslationTest::assertSelectionIsKept()
- LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept in tests/
src/ Functional/ Views/ LingotekNodeBulkViewsTranslationTest.php - Assert the selected action and key are kept.
File
- tests/
src/ Functional/ LingotekNodeBulkTranslationTest.php, line 2903
Class
- LingotekNodeBulkTranslationTest
- Tests translating a node using the bulk management form.
Namespace
Drupal\Tests\lingotek\FunctionalCode
protected function assertSelectionIsKept(string $key) {
$this
->assertOptionSelected($this
->getBulkOperationFormName(), $this
->getBulkOperationNameForDeleteTranslation('es', 'node'));
$this
->assertFieldChecked($key);
}