reset to faubourg store

This commit is contained in:
2022-09-18 13:35:58 +02:00
parent 02a62c3b75
commit d65c1742ff
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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 = [];
+11 -11
View File
@@ -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);
} }