build(aio): add API static members to search index (#21988)

Previously searching for `compose` did not include `Validators`
in the search results because we were not including all the
`static` members of API docs in the index.

PR Close #21988
This commit is contained in:
Pete Bacon Darwin
2018-02-02 13:02:18 +00:00
committed by Alex Rickabaugh
parent ae7bc2238d
commit 9a0700f5bd
4 changed files with 59 additions and 13 deletions

View File

@ -115,18 +115,6 @@ describe('site App', function() {
});
});
describe('search', () => {
it('should find pages when searching by a partial word in the title', () => {
page.navigateTo('');
page.enterSearch('ngCont');
expect(page.getSearchResults()).toContain('NgControl');
page.enterSearch('accessor');
expect(page.getSearchResults()).toContain('ControlValueAccessor');
});
});
describe('404 page', () => {
it('should add or remove the "noindex" meta tag depending upon the validity of the page', () => {
page.navigateTo('');