Commit 196a4eb5 authored by catch's avatar catch

Issue #2099391 by marthinal, dawehner, jhodgdon: Breadcrumbs for Search module...

Issue #2099391 by marthinal, dawehner, jhodgdon: Breadcrumbs for Search module should match tab titles.
parent 541f24c2
......@@ -45,6 +45,9 @@ function testSearchText() {
$this->assertText(t('Consider loosening your query with OR. bike OR shed will often show more results than bike shed.'), 'Help text is displayed when search returns no results.');
$this->assertText(t('Search'));
$this->assertTitle($title, 'Search page title is correct');
$this->assertNoText('Node', 'Erroneous tab and breadcrumb text is not present');
$this->assertNoText(t('Node'), 'Erroneous translated tab and breadcrumb text is not present');
$this->assertText(t('Content'), 'Tab and breadcrumb text is present');
$edit['keys'] = $this->searching_user->getUsername();
$this->drupalPostForm('search/user', $edit, t('Search'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment