[ACA-1799] add tests for share file (#727)

* initial work

* shared link created through API

* add tests for share file on all list views

* remove utc for end of day

* remove hours and minutes

* update unit test

* workaround

* update docker settings for tomcat

* tomcat setup for e2e
This commit is contained in:
Adina Parpalita
2018-10-18 16:27:54 +03:00
committed by Denys Vuika
parent 9012c0832b
commit 30b445dde9
15 changed files with 1312 additions and 29 deletions

13
build-tomcat-e2e.sh Executable file
View File

@@ -0,0 +1,13 @@
npm run build -- --base-href ./
node -e "
const fs = require('fs');
const config = require('./dist/app/app.config.json');
config.baseShareUrl = 'http://localhost:4000/content-app';
fs.writeFileSync(
'./dist/app/app.config.json',
JSON.stringify(config, null, 2)
);
"
jar -cvf docker/tomcat/artifacts/content-app.war -C dist/app/ .