Upgraded Angular version
This commit is contained in:
@@ -9,6 +9,6 @@ describe('workspace-project App', () => {
|
||||
|
||||
it('should display welcome message', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getParagraphText()).toEqual('Welcome to PictureStory!');
|
||||
expect(page.getTitleText()).toEqual('Welcome to PictureStory!');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -5,7 +5,7 @@ export class AppPage {
|
||||
return browser.get('/');
|
||||
}
|
||||
|
||||
getParagraphText() {
|
||||
getTitleText() {
|
||||
return element(by.css('app-root h1')).getText();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user