runapptests - Reset apploaders device installed apps list for each test

pull/3399/head
Martin Boonk 2024-05-04 22:56:37 +02:00
parent 9b01f82324
commit 842070928c
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ function runStep(step, subtest, test, state){
}
function runTest(test, testState) {
apploader.reset();
var app = apploader.apps.find(a=>a.id==test.app);
if (!app) ERROR(`App ${JSON.stringify(test.app)} not found`);
if (app.custom) ERROR(`App ${JSON.stringify(appId)} requires HTML customisation`);