support moto g51

This commit is contained in:
2023-12-05 14:08:02 +01:00
parent a52a65fd72
commit e7a02a5c25
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ class CommandorPage {
await this.enableDisableAirPlanMode(); await this.enableDisableAirPlanMode();
// await delay(10 * 1000); // await delay(10 * 1000);
await openUrlWithAdb(RDV_URL, this.device) await openUrlWithAdb(RDV_URL, this.device)
await delay(10000) await delay(15000)
await this.checkResultWithOcr() await this.checkResultWithOcr()
// await this.clickOnlineAppointment(); // await this.clickOnlineAppointment();
// } else { // } else {
+1 -1
View File
@@ -117,7 +117,7 @@ class OCRChecker {
await this.deleteFile(fileName) await this.deleteFile(fileName)
return OCRResult.BLOCKED return OCRResult.BLOCKED
} else if (result.includes(ERR_CACHE_MISS) || result.includes(ERR_CACHE_MISS_2) || result.includes(ERR_CACHE_MISS_3) } else if (result.includes(ERR_CACHE_MISS) || result.includes(ERR_CACHE_MISS_2) || result.includes(ERR_CACHE_MISS_3)
|| result.includes(ERR_CACHE_MISS_4) || result.includes(ERR_EMPTY_RESPONSE) || result.includes(ERR_SSL_PROTOCOL)) { || result.includes(ERR_CACHE_MISS_4) || result.includes(ERR_EMPTY_RESPONSE) ) { //|| result.includes(ERR_SSL_PROTOCOL)
await this.deleteFile(fileName) await this.deleteFile(fileName)
return OCRResult.TO_REFRESH return OCRResult.TO_REFRESH
} else if (result.includes(CHECKING_MSG_FR) || result.includes(CHECKING_MSG_FR_2)) { } else if (result.includes(CHECKING_MSG_FR) || result.includes(CHECKING_MSG_FR_2)) {