fix e2e protractor (#6962)

This commit is contained in:
Eugenio Romano 2021-04-28 14:03:30 +01:00 committed by GitHub
parent dd5fc685b8
commit 42c81e46bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 16 deletions

View File

@ -280,6 +280,11 @@ exports.config = {
await LocalStorageUtil.apiReset(); await LocalStorageUtil.apiReset();
} else {
Logger.error(`====== Demo shell not able to start ======`);
process.exit();
}
function disableCSSAnimation() { function disableCSSAnimation() {
const css = '* {' + const css = '* {' +
'-webkit-transition-duration: 0s !important;' + '-webkit-transition-duration: 0s !important;' +
@ -295,11 +300,6 @@ exports.config = {
head.appendChild(style); head.appendChild(style);
} }
} else {
Logger.error(`====== Demo shell not able to start ======`);
process.exit();
}
}, },
afterLaunch: async function (statusCode) { afterLaunch: async function (statusCode) {

View File

@ -8,7 +8,8 @@
"nx.json": "*", "nx.json": "*",
".travis.yml": "*", ".travis.yml": "*",
"demo-shell/src/index.html": "*", "demo-shell/src/index.html": "*",
"e2e/protractor.excludes.json": "*" "e2e/protractor.excludes.json": "*",
"e2e/protractor.conf.js": "*"
}, },
"projects": { "projects": {
"demoshell": { "demoshell": {