Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addon/ng2/blueprints/ng2/files/e2e/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ describe('<%= htmlComponentName %> App', function() {

it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('<%= htmlComponentName %> works!');
expect(page.getParagraphText()).toEqual('<%= prefix %> works!');
});
});
2 changes: 1 addition & 1 deletion addon/ng2/blueprints/ng2/files/e2e/app.po.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export class <%= jsComponentName %>Page {
}

getParagraphText() {
return element(by.css('<%= htmlComponentName %>-app h1')).getText();
return element(by.css('<%= prefix %>-root h1')).getText();
}
}