Initial commit

This commit is contained in:
garrettmills
2020-02-07 20:01:00 -06:00
commit 31fdc2d249
42 changed files with 13410 additions and 0 deletions

19
e2e/src/app.e2e-spec.ts Normal file
View File

@@ -0,0 +1,19 @@
import { AppPage } from './app.po';
describe('new App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
describe('default screen', () => {
beforeEach(() => {
page.navigateTo('/home');
});
it('should have a title saying Home', () => {
page.getPageOneTitleText().then(title => {
expect(title).toEqual('Home');
});
});
});
});

15
e2e/src/app.po.ts Normal file
View File

@@ -0,0 +1,15 @@
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo(destination) {
return browser.get(destination);
}
getTitle() {
return browser.getTitle();
}
getPageOneTitleText() {
return element(by.tagName('app-home')).element(by.deepCss('ion-title')).getText();
}
}