test(aio): redefine pipe test as a pending test to confirm code example
This commit is contained in:
parent
801b09066b
commit
a26eb4c04e
|
@ -14,9 +14,5 @@ describe('site App', function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should convert code-example in pipe.html', () => {
|
it('should convert a doc with a code-example');
|
||||||
page.datePipeLink.click().then(() => {
|
|
||||||
expect(page.codeExample.count()).toBeGreaterThan(0, 'should have code-example content');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -3,7 +3,6 @@ import { browser, element, by } from 'protractor';
|
||||||
export class SitePage {
|
export class SitePage {
|
||||||
|
|
||||||
links = element.all(by.css('md-toolbar a'));
|
links = element.all(by.css('md-toolbar a'));
|
||||||
datePipeLink = element(by.css('md-toolbar a[aioNavLink="api/common/date-pipe"]'));
|
|
||||||
docViewer = element(by.css('aio-doc-viewer'));
|
docViewer = element(by.css('aio-doc-viewer'));
|
||||||
codeExample = element.all(by.css('aio-doc-viewer pre > code'));
|
codeExample = element.all(by.css('aio-doc-viewer pre > code'));
|
||||||
featureLink = element(by.css('md-toolbar a[aioNavLink="features"]'));
|
featureLink = element(by.css('md-toolbar a[aioNavLink="features"]'));
|
||||||
|
|
Loading…
Reference in New Issue