public function LingotekNodeBulkTranslationTest::testAddContentLinkPresent in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- 4.0.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- 3.0.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- 3.1.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- 3.2.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- 3.3.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- 3.5.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- 3.6.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- 3.7.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- 3.8.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
1 method overrides LingotekNodeBulkTranslationTest::testAddContentLinkPresent()
- LingotekNodeBulkViewsTranslationTest::testAddContentLinkPresent in tests/
src/ Functional/ Views/ LingotekNodeBulkViewsTranslationTest.php
File
- tests/
src/ Functional/ LingotekNodeBulkTranslationTest.php, line 572
Class
- LingotekNodeBulkTranslationTest
- Tests translating a node using the bulk management form.
Namespace
Drupal\Tests\lingotek\FunctionalCode
public function testAddContentLinkPresent() {
// Login as admin.
$this
->drupalLogin($this->rootUser);
// Place the actions and title block.
$this
->drupalPlaceBlock('local_actions_block');
$this
->goToContentBulkManagementForm();
// There should be a link for adding content.
$this
->clickLink('Add content');
// And we should have been redirected to the article form.
$this
->assertUrl(Url::fromRoute('node.add', [
'node_type' => 'article',
]));
}