Trying to build a webui using Ionic & Angular

This commit is contained in:
2022-07-17 23:46:48 +02:00
parent c0cf27780d
commit 00e601e246
58 changed files with 31063 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { AppPage } from './app.po';
describe('new App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
describe('default screen', () => {
beforeEach(() => {
page.navigateTo('/Inbox');
});
it('should say Inbox', () => {
expect(page.getParagraphText()).toContain('Inbox');
});
});
});

11
ui/e2e/src/app.po.ts Normal file
View File

@@ -0,0 +1,11 @@
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo(destination) {
return browser.get(destination);
}
getParagraphText() {
return element(by.deepCss('app-root ion-content')).getText();
}
}