Skip to content

Commit

Permalink
feat(@angular/cli): update e2e blueprint files
Browse files Browse the repository at this point in the history
  • Loading branch information
narainsagar authored and filipesilva committed Jun 27, 2017
1 parent 054b203 commit aabad93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/@angular/cli/blueprints/ng/files/e2e/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { <%= jsComponentName %>Page } from './app.po';
import { AppPage } from './app.po';

describe('<%= htmlComponentName %> App', () => {
let page: <%= jsComponentName %>Page;
let page: AppPage;

beforeEach(() => {
page = new <%= jsComponentName %>Page();
page = new AppPage();
});

it('should display welcome message', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/@angular/cli/blueprints/ng/files/e2e/app.po.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { browser, by, element } from 'protractor';

export class <%= jsComponentName %>Page {
export class AppPage {
navigateTo() {
return browser.get('/');
}
Expand Down

0 comments on commit aabad93

Please sign in to comment.