From 17cb4da5ea3bebe343b330f3571b95132a24315e Mon Sep 17 00:00:00 2001 From: Matt Raible Date: Tue, 1 Mar 2016 22:14:53 -0700 Subject: [PATCH] fix(tests): Fix Protractor test so 'ng e2e' succeeds after 'ng new' --- addon/ng2/blueprints/ng2/files/e2e/app.po.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/ng2/blueprints/ng2/files/e2e/app.po.ts b/addon/ng2/blueprints/ng2/files/e2e/app.po.ts index 52ef32874b78..f6b64ea46e63 100644 --- a/addon/ng2/blueprints/ng2/files/e2e/app.po.ts +++ b/addon/ng2/blueprints/ng2/files/e2e/app.po.ts @@ -2,8 +2,8 @@ export class <%= jsComponentName %>Page { navigateTo() { return browser.get('/'); } - + getParagraphText() { - return element(by.css('<%= jsComponentName %>-app p')).getText(); + return element(by.css('<%= htmlComponentName %>-app p')).getText(); } }