public function ConfigTranslationListUiTest::testTranslateOperationInListUi in Drupal 8
Same name and namespace in other branches
- 9 core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php \Drupal\Tests\config_translation\Functional\ConfigTranslationListUiTest::testTranslateOperationInListUi()
Tests if translate link is added to operations in all configuration lists.
File
- core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationListUiTest.php, line 480
Class
- ConfigTranslationListUiTest
- Visit all lists.
Namespace
Drupal\Tests\config_translation\FunctionalCode
public function testTranslateOperationInListUi() {
// All lists based on paths provided by the module.
$this
->doBlockListTest();
$this
->doMenuListTest();
$this
->doVocabularyListTest();
$this
->doCustomContentTypeListTest();
$this
->doContactFormsListTest();
$this
->doContentTypeListTest();
$this
->doFormatsListTest();
$this
->doShortcutListTest();
$this
->doUserRoleListTest();
$this
->doLanguageListTest();
$this
->doImageStyleListTest();
$this
->doResponsiveImageListTest();
$this
->doDateFormatListTest();
$this
->doFieldListTest();
// Views is tested in Drupal\config_translation\Tests\ConfigTranslationViewListUiTest
// Test the maintenance settings page.
$this
->doSettingsPageTest('admin/config/development/maintenance');
// Test the site information settings page.
$this
->doSettingsPageTest('admin/config/system/site-information');
// Test the account settings page.
$this
->doSettingsPageTest('admin/config/people/accounts');
// Test the RSS settings page.
$this
->doSettingsPageTest('admin/config/services/rss-publishing');
}