first commit

This commit is contained in:
fabio.formosa
2018-02-13 00:10:07 +01:00
parent 6b4506aed3
commit 0b4dc4a1de
203 changed files with 4572 additions and 126 deletions

View File

@@ -0,0 +1,14 @@
import { WebUiPage } from './app.po';
describe('web-ui App', () => {
let page: WebUiPage;
beforeEach(() => {
page = new WebUiPage();
});
it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toContain('ANGULAR-SPRING-JWT-STARTER');
});
});

View File

@@ -0,0 +1,11 @@
import { browser, element, by } from 'protractor';
export class WebUiPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root app-header span')).getText();
}
}

View File

@@ -0,0 +1,12 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"module": "commonjs",
"target": "es5",
"types":[
"jasmine",
"node"
]
}
}