projects
/
examples
/
angular-tour-of-heroes
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85f4c07
)
Fixed automatically generated e2e-test
author
Kai Moritz
<kai@juplo.de>
Fri, 8 May 2020 10:41:56 +0000
(12:41 +0200)
committer
Kai Moritz
<kai@juplo.de>
Fri, 8 May 2020 10:41:56 +0000
(12:41 +0200)
* Invested only minimal efforts
* Only fixed current errors
* No additional tests were added
e2e/src/app.e2e-spec.ts
patch
|
blob
|
history
e2e/src/app.po.ts
patch
|
blob
|
history
diff --git
a/e2e/src/app.e2e-spec.ts
b/e2e/src/app.e2e-spec.ts
index
144dccb
..
166cbca
100644
(file)
--- a/
e2e/src/app.e2e-spec.ts
+++ b/
e2e/src/app.e2e-spec.ts
@@
-10,7
+10,7
@@
describe('workspace-project App', () => {
it('should display welcome message', () => {
page.navigateTo();
- expect(page.getTitleText()).toEqual('
angular-tour-of-heroes app is running!
');
+ expect(page.getTitleText()).toEqual('
Tour of Heroes
');
});
afterEach(async () => {
diff --git
a/e2e/src/app.po.ts
b/e2e/src/app.po.ts
index
b8498c2
..
1a4c955
100644
(file)
--- a/
e2e/src/app.po.ts
+++ b/
e2e/src/app.po.ts
@@
-6,6
+6,6
@@
export class AppPage {
}
getTitleText() {
- return element(by.css('app-root
.content span
')).getText() as Promise<string>;
+ return element(by.css('app-root
> h1
')).getText() as Promise<string>;
}
}