test check blacklist

This commit is contained in:
2022-10-13 16:41:48 +02:00
parent de2fa6f518
commit becea669ac
4 changed files with 26 additions and 2 deletions
+5
View File
@@ -371,6 +371,7 @@ class CommandorPage {
let reserve = ReserveResultPojo.create_from_contact(this.contact, id, this.page.url(), this.choosedStore, publishType);
reserve.source_from = this.device.model();
await this.mongoManager.saveReserveToDb(reserve.to_mongo_dict())
await this.deleteFromBlackList()
this.isTerminated = true
}
@@ -379,6 +380,10 @@ class CommandorPage {
this.isTerminated = true
}
async deleteFromBlackList() {
await this.mongoManager.removeFromBlackList(this.contact)
}
async getErrors() {
if (this.page.url() === BLANK_URL) {
this.isTerminated = true;