init
This commit is contained in:
@ -8,9 +8,9 @@ describe('workspace-project App', () => {
|
||||
page = new AppPage();
|
||||
});
|
||||
|
||||
it('should display welcome message', () => {
|
||||
it('should display the page title', () => {
|
||||
page.navigateTo();
|
||||
expect(page.getTitleText()).toEqual('UI app is running!');
|
||||
expect(page.getTitleText()).toEqual('Digital Fingerprint of Plastics');
|
||||
});
|
||||
|
||||
afterEach(async () => {
|
||||
|
@ -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 div .sub-brand-content')).getText() as Promise<string>;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user