public function LingotekJobManagementTests::testJobTranslationConfigTab in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
- 3.0.x tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
- 3.1.x tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
- 3.2.x tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
- 3.3.x tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
- 3.4.x tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
- 3.5.x tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
- 3.6.x tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
- 3.7.x tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
- 3.8.x tests/src/Functional/LingotekJobManagementTests.php \Drupal\Tests\lingotek\Functional\LingotekJobManagementTests::testJobTranslationConfigTab()
1 call to LingotekJobManagementTests::testJobTranslationConfigTab()
- LingotekJobManagementTests::testJobTranslationConfigTabHasOwnFilter in tests/
src/ Functional/ LingotekJobManagementTests.php
File
- tests/
src/ Functional/ LingotekJobManagementTests.php, line 165
Class
- LingotekJobManagementTests
- Tests job management listings.
Namespace
Drupal\Tests\lingotek\FunctionalCode
public function testJobTranslationConfigTab() {
$assert_session = $this
->assertSession();
$this
->createContent();
$this
->drupalGet('/admin/lingotek/job/my-test-job-id-1');
// Assert tabs.
$assert_session
->linkExists('Job my-test-job-id-1 Content');
$assert_session
->linkExists('Job my-test-job-id-1 Config');
$this
->clickLink('Job my-test-job-id-1 Config');
// Assert title block heading.
$this
->assertSame('Job my-test-job-id-1 Configuration', $this
->xpath('//h1')[0]
->getText());
// Assert config listed.
$this
->assertText('System information');
$this
->assertNoText('Account settings');
// Assert the fields are not there.
$this
->assertNoField('filters[wrapper][job]');
$this
->assertNoField('job_id');
}