reset to faubourg store
This commit is contained in:
@@ -4,7 +4,7 @@ const ContactPojo = require("../models/ContactPojo");
|
|||||||
class ExcelUtil {
|
class ExcelUtil {
|
||||||
|
|
||||||
readContacts() {
|
readContacts() {
|
||||||
let workSheetsFromFile = xlsx.parse('C:/Users/lei/Desktop/contact_all.xlsx');
|
let workSheetsFromFile = xlsx.parse('/Users/panlei/Desktop/contact_all.xlsx');
|
||||||
console.log(workSheetsFromFile);
|
console.log(workSheetsFromFile);
|
||||||
// return a list of contactPojo
|
// return a list of contactPojo
|
||||||
let contactList = [];
|
let contactList = [];
|
||||||
|
|||||||
@@ -192,17 +192,17 @@ class CommandorPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async chooseStore(page) {
|
async chooseStore(page) {
|
||||||
// try {
|
try {
|
||||||
// if (!page.isClosed()) {
|
if (!page.isClosed()) {
|
||||||
// await page.locator(PREFER_STORE).focus()
|
await page.locator(PREFER_STORE).focus()
|
||||||
// await delay(1000)
|
await delay(1000)
|
||||||
// await page.click(PREFER_STORE);
|
await page.click(PREFER_STORE);
|
||||||
// await page.selectOption(PREFER_STORE, "faubourg");
|
await page.selectOption(PREFER_STORE, "faubourg");
|
||||||
// }
|
}
|
||||||
// } catch (e) {
|
} catch (e) {
|
||||||
// console.log(e);
|
console.log(e);
|
||||||
// this.isTerminated = true;
|
this.isTerminated = true;
|
||||||
// }
|
}
|
||||||
// await page.click(PREFER_STORE);
|
// await page.click(PREFER_STORE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user