Merge remote-tracking branch 'origin/master'

This commit is contained in:
2022-09-09 14:09:07 +02:00
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ const ContactPojo = require("../models/ContactPojo");
class ExcelUtil { class ExcelUtil {
readContacts() { readContacts() {
let workSheetsFromFile = xlsx.parse('/Users/lpan/Desktop/contact_all.xlsx'); let workSheetsFromFile = xlsx.parse('C:/Users/lei/Desktop/contact_all.xlsx');
console.log(workSheetsFromFile); console.log(workSheetsFromFile);
// return a list of contactPojo // return a list of contactPojo
let contactList = []; let contactList = [];
+1 -3
View File
@@ -75,12 +75,10 @@ class CommandorPage {
}) })
try { try {
await this.page.goto(RDV_URL, {timeout: 90 * 1000}); await this.page.goto(RDV_URL, {timeout: 90 * 1000});
}catch (e) { } catch (e) {
console.log(e) console.log(e)
this.isTerminated = true this.isTerminated = true
} }
//wait 10 mins
// Close the device.
let cancel let cancel
const intervalTask = setInterval(() => { const intervalTask = setInterval(() => {