Updating app to ionic-angular latest beta
This commit is contained in:
@@ -9,6 +9,6 @@ describe('new App', () => {
|
||||
|
||||
it('should display welcome message', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getParagraphText()).toContain('The world is your oyster.');
|
||||
expect(page.getPageTitle()).toContain('Tab One');
|
||||
});
|
||||
});
|
||||
|
||||
+2
-2
@@ -5,7 +5,7 @@ export class AppPage {
|
||||
return browser.get('/');
|
||||
}
|
||||
|
||||
getParagraphText() {
|
||||
return element(by.deepCss('app-root ion-content')).getText();
|
||||
getPageTitle() {
|
||||
return element(by.css('ion-title')).getText();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user