fix(aio): relax search on titles further

This change will now match `ControlValueAccessor` for the query `accessor`.

Closes #18872
This commit is contained in:
Peter Bacon Darwin
2017-09-09 18:15:46 +01:00
committed by Matias Niemelä
parent a2b50ec8c9
commit 5cd0d6ab25
3 changed files with 6 additions and 2 deletions

View File

@ -96,6 +96,8 @@ describe('site App', function() {
it('should find pages when searching by a partial word in the title', () => {
page.enterSearch('ngCont');
expect(page.getSearchResults().map(link => link.getText())).toContain('NgControl');
page.enterSearch('accessor');
expect(page.getSearchResults().map(link => link.getText())).toContain('ControlValueAccessor');
});
});
});