support moto g51
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user