Fix integration test

pull/1017/head
Mikunj 4 years ago
parent 5f98f702d4
commit 57239932ba

@ -1,6 +1,4 @@
{
"storageProfile": "testIntegration2Profile",
"openDevTools": false,
"updatesEnabled": false,
"storageProfile": "test-integration-session-2",
"localServerPort": "8082"
}

@ -1,5 +1,5 @@
{
"storageProfile": "testIntegrationProfile",
"storageProfile": "test-integration-session",
"openDevTools": false,
"updatesEnabled": false
}

@ -122,11 +122,9 @@ module.exports = {
},
async startAndAssureCleanedApp(env = 'test-integration-session') {
const prefix = 'test-integration-session-';
const envNumber = env.substr(env.lastIndexOf(prefix) + prefix.length) || '';
const userData = path.join(
this.USER_DATA_ROOT_FOLDER,
`Loki-Messenger-testIntegration${envNumber}Profile`
`Session-${env}`
);
await this.rmFolder(userData);

Loading…
Cancel
Save