Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -4,7 +4,7 @@ const ContactPojo = require("../models/ContactPojo");
|
||||
class ExcelUtil {
|
||||
|
||||
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);
|
||||
// return a list of contactPojo
|
||||
let contactList = [];
|
||||
|
||||
@@ -75,12 +75,10 @@ class CommandorPage {
|
||||
})
|
||||
try {
|
||||
await this.page.goto(RDV_URL, {timeout: 90 * 1000});
|
||||
}catch (e) {
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
this.isTerminated = true
|
||||
}
|
||||
//wait 10 mins
|
||||
// Close the device.
|
||||
|
||||
let cancel
|
||||
const intervalTask = setInterval(() => {
|
||||
|
||||
Reference in New Issue
Block a user