Building a web application with Spring Boot and Angular (#6496)

* Initial Commit

* Delete angularclient folder

* Add spring-boot-angular module to root pom.xml

* Update pom.xml

* Update root pom.xml

* Update root pom.xml
This commit is contained in:
Alejandro Gervasio
2019-03-11 11:49:16 -03:00
committed by KevinGilmore
parent 6cd8c51b4d
commit b10782f89e
45 changed files with 52 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
import { AppPage } from './app.po';
describe('sampleapp App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});

View File

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

View File

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