Skip to content

Commit 17cb4da

Browse files
committed
fix(tests): Fix Protractor test so 'ng e2e' succeeds after 'ng new'
1 parent e802a8f commit 17cb4da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addon/ng2/blueprints/ng2/files/e2e/app.po.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ export class <%= jsComponentName %>Page {
22
navigateTo() {
33
return browser.get('/');
44
}
5-
5+
66
getParagraphText() {
7-
return element(by.css('<%= jsComponentName %>-app p')).getText();
7+
return element(by.css('<%= htmlComponentName %>-app p')).getText();
88
}
99
}

0 commit comments

Comments
 (0)