diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php index 807307c..f8def2a 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php @@ -446,6 +446,9 @@ public function testDateFormatTranslation() { $this->drupalGet($translation_page_url); $this->assertText($label); + // Make sure date library added from the element form. + $this->assertRaw('core/modules/system/js/system.date.js'); + // Update translatable fields. $edit = array( 'translation[config_names][core.date_format.' . $id . '][label]' => $id . ' - FR',