Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit e796344

Browse files
committed
Make e2e pass
1 parent 19b340e commit e796344

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

e2e/app.e2e-spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ describe('rxjs-docs App', () => {
77
page = new AppPage();
88
});
99

10-
it('should display welcome message', () => {
10+
it('should display title', () => {
1111
page.navigateTo();
12-
expect(page.getParagraphText()).toEqual('Welcome to app!');
12+
expect(page.getPageTitle()).toEqual('RxJS Docs');
1313
});
1414
});

e2e/app.po.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export class AppPage {
55
return browser.get('/');
66
}
77

8-
getParagraphText() {
9-
return element(by.css('app-root h1')).getText();
8+
getPageTitle() {
9+
return element(by.css('span.title')).getText();
1010
}
1111
}

0 commit comments

Comments
 (0)