public function ConfigTranslationListUiTest::testTranslateOperationInListUi in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php \Drupal\config_translation\Tests\ConfigTranslationListUiTest::testTranslateOperationInListUi()
Tests if translate link is added to operations in all configuration lists.
File
- core/
modules/ config_translation/ src/ Tests/ ConfigTranslationListUiTest.php, line 474 - Contains \Drupal\config_translation\Tests\ConfigTranslationListUiTest.
Class
- ConfigTranslationListUiTest
- Visit all lists.
Namespace
Drupal\config_translation\TestsCode
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');
}