Fixed automatically generated e2e-test
[examples/angular-tour-of-heroes] / e2e / src / app.po.ts
index b8498c2..1a4c955 100644 (file)
@@ -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>;
   }
 }