log demo shell not starting (#6954)

This commit is contained in:
Eugenio Romano
2021-04-27 12:31:49 +01:00
committed by GitHub
parent 431f273b07
commit 4e94216d14

View File

@@ -255,6 +255,8 @@ exports.config = {
// @ts-ignore
await browser.get(`${HOST}/#/settings`);
if (typeof LocalStorageUtil.clearStorage === "function") {
await LocalStorageUtil.clearStorage();
// @ts-ignore
await LocalStorageUtil.setStorageItem('ecmHost', browser.params.testConfig.appConfig.ecmHost);
@@ -293,6 +295,11 @@ exports.config = {
head.appendChild(style);
}
} else {
Logger.error(`====== Demo shell not able to start ======`);
process.exit();
}
},
afterLaunch: async function (statusCode) {