Skip to content

Commit a3dd1a2

Browse files
committed
tests: fix e2e default
1 parent 90ea7ef commit a3dd1a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

e2e/src/app.e2e-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ describe('workspace-project App', () => {
77
page = new AppPage();
88
});
99

10-
it('should display welcome message', () => {
10+
it('should display: CoreUI © 2019 creativeLabs.', () => {
1111
page.navigateTo();
12-
expect(page.getParagraphText()).toEqual('Welcome to app!');
12+
expect(page.getParagraphText()).toEqual('CoreUI © 2019 creativeLabs.');
1313
});
1414
});

e2e/src/app.po.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export class AppPage {
66
}
77

88
getParagraphText() {
9-
return element(by.css('app-root h1')).getText();
9+
return element(by.tagName('cui-footer')).element(by.tagName('span')).getText();
1010
}
1111
}

0 commit comments

Comments
 (0)