AutorÃa | Ultima modificación | Ver Log |
@core @core_searchFeature: Show system information in the search interfaceIn order to let users know if there are current problems with searchAs an adminI need to be able to show information on search pagesBackground:Given the following config values are set as admin:| enableglobalsearch | 1 || searchengine | simpledb |And I log in as "admin"@javascriptScenario: Information displays when enabledWhen the following config values are set as admin:| searchbannerenable | 1 || searchbanner | The search currently only finds frog-related content; we hope to fix it soon. |And I search for "toads" using the header global search boxThen I should see "The search currently only finds frog-related content" in the ".notifywarning" "css_element"@javascriptScenario: Information does not display when not enabledWhen the following config values are set as admin:| searchbannerenable | 0 || searchbanner | The search currently only finds frog-related content; we hope to fix it soon. |And I search for "toads" using the header global search boxThen I should not see "The search currently only finds frog-related content"And ".notifywarning" "css_element" should not exist@javascriptScenario: Information does not display when left blankWhen the following config values are set as admin:| searchbannerenable | 1 || searchbanner | |And I search for "toads" using the header global search boxThen ".notifywarning" "css_element" should not exist