diff --git a/core/modules/config/src/Tests/ConfigExportUITest.php b/core/modules/config/src/Tests/ConfigExportUITest.php index f6840ef..baae741 100644 --- a/core/modules/config/src/Tests/ConfigExportUITest.php +++ b/core/modules/config/src/Tests/ConfigExportUITest.php @@ -86,6 +86,11 @@ function testExport() { // Check the single export form doesn't have "form-required" elements. $this->drupalGet('admin/config/development/configuration/single/export'); $this->assertNoRaw('js-form-required form-required', 'No form required fields are found.'); + + // Ensure that the default option for the single export form prompts the + // user to make a choice. + $default_option = $this->xpath('//*[@name="config_name"]/option[text()="- Select -"]'); + $this->assertTrue(!empty($default_option), 'The default option prompts user to make a choice.'); } }