mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-04-24 00:00:03 +08:00
FIX do not evaluate test result if test is skipped
This commit is contained in:
@@ -54,11 +54,12 @@ describe('Advanced HTTP e2e test suite', function () {
|
||||
await validateTestIndex(driver, index);
|
||||
await validateTestTitle(driver, test.description);
|
||||
await waitToBeFinished(driver, test.timeout || 10000);
|
||||
var skipped = await checkSkipped(driver);
|
||||
const skipped = await checkSkipped(driver);
|
||||
if(skipped){
|
||||
this.skip();
|
||||
} else {
|
||||
await validateResult(driver, test.validationFunc, targetInfo);
|
||||
}
|
||||
await validateResult(driver, test.validationFunc, targetInfo);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user