From a26eb4c04ea07e1bc7b443da7a6efdc7ea3b5736 Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Mon, 20 Feb 2017 22:28:40 -0800 Subject: [PATCH] test(aio): redefine pipe test as a pending test to confirm code example --- aio/e2e/app.e2e-spec.ts | 6 +----- aio/e2e/app.po.ts | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/aio/e2e/app.e2e-spec.ts b/aio/e2e/app.e2e-spec.ts index 2ac6aedb43..032bab0f27 100644 --- a/aio/e2e/app.e2e-spec.ts +++ b/aio/e2e/app.e2e-spec.ts @@ -14,9 +14,5 @@ describe('site App', function() { }); }); - it('should convert code-example in pipe.html', () => { - page.datePipeLink.click().then(() => { - expect(page.codeExample.count()).toBeGreaterThan(0, 'should have code-example content'); - }); - }); + it('should convert a doc with a code-example'); }); diff --git a/aio/e2e/app.po.ts b/aio/e2e/app.po.ts index 3a62faf792..19a1a27ec0 100644 --- a/aio/e2e/app.po.ts +++ b/aio/e2e/app.po.ts @@ -3,7 +3,6 @@ import { browser, element, by } from 'protractor'; export class SitePage { 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')); codeExample = element.all(by.css('aio-doc-viewer pre > code')); featureLink = element(by.css('md-toolbar a[aioNavLink="features"]'));