E
Size: a a a
E
OI
E
BO
E
async checkThatFileIsDownloadedWithCorrectCountOfRows() {
const session = await driver.getSession();
const sessionId = session.getId();
console.log(downloadsFolder());
const pathToFile = `http://<ip>:4444/${sessionId}${downloadsFolder()}Planning%20Objects.csv`;
const result = excelToJson({
sourceFile: pathToFile
});
const countOfRowsInTheFile = await result.Sheet1.length;
return countOfRowsInTheFile;
}BO
async checkThatFileIsDownloadedWithCorrectCountOfRows() {
const session = await driver.getSession();
const sessionId = session.getId();
console.log(downloadsFolder());
const pathToFile = `http://<ip>:4444/${sessionId}${downloadsFolder()}Planning%20Objects.csv`;
const result = excelToJson({
sourceFile: pathToFile
});
const countOfRowsInTheFile = await result.Sheet1.length;
return countOfRowsInTheFile;
}E
VG
BO
В
BO
В
A
OK
A
OK
m
AB