protected function LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 4.0.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink()
- 3.2.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink()
- 3.3.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink()
- 3.4.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink()
- 3.5.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink()
- 3.6.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink()
- 3.7.x tests/src/Functional/LingotekInterfaceTranslationTestTrait.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink()
9 calls to LingotekInterfaceTranslationTestTrait::assertLingotekInterfaceTranslationCheckSourceStatusLink()
- LingotekInterfaceTranslationTest::testCheckSourceStatusCompletedAndContentMissing in tests/
src/ Functional/ LingotekInterfaceTranslationTest.php - Tests that all the statuses are set when using the Check Translations action.
- LingotekInterfaceTranslationTest::testCheckSourceStatusNotCompletedAndStillImporting in tests/
src/ Functional/ LingotekInterfaceTranslationTest.php - Tests that all the statuses are set when using the Check Translations action.
- LingotekInterfaceTranslationTest::testCheckSourceStatusWithAnError in tests/
src/ Functional/ LingotekInterfaceTranslationTest.php - Tests that all the statuses are set when using the Check Translations action.
- LingotekInterfaceTranslationTest::testClearInterfaceTranslationMetadata in tests/
src/ Functional/ LingotekInterfaceTranslationTest.php - Tests that a node can be translated using the links on the management page.
- LingotekInterfaceTranslationTest::testInterfaceTranslationUsingLinks in tests/
src/ Functional/ LingotekInterfaceTranslationTest.php - Tests that a node can be translated using the links on the management page.
File
- tests/
src/ Functional/ LingotekInterfaceTranslationTestTrait.php, line 28
Class
- LingotekInterfaceTranslationTestTrait
- Trait with Lingotek interface translation test assertion helpers.
Namespace
Drupal\Tests\lingotek\FunctionalCode
protected function assertLingotekInterfaceTranslationCheckSourceStatusLink($component) {
$basepath = \Drupal::request()
->getBasePath();
$href = $basepath . '/admin/lingotek/interface-translation/check-upload?component=' . $component;
if ($destination = $this
->getDestination()) {
$href .= $destination;
}
$this
->assertSession()
->linkByHrefExists($href, 0);
}