This commit is contained in:
vle2fe
2020-01-14 16:18:26 +01:00
parent 97b3fe412f
commit 0ba7ac9786
12 changed files with 38 additions and 554 deletions

View File

@ -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 () => {

View 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 div .sub-brand-content')).getText() as Promise<string>;
}
}