test(cypress): excel import validation (draft/wip)

Signed-off-by: Raju Udava <sivadstala@gmail.com>
This commit is contained in:
Raju Udava
2021-11-18 12:00:29 +05:30
parent 8e15a8bb88
commit f6b21429ff
9 changed files with 325 additions and 3 deletions

View File

@@ -40,3 +40,14 @@ module.exports = (on, config) => {
})
}
// https://stackoverflow.com/questions/61934443/read-excel-files-in-cypress
const readXlsx = require('./read-xlsx')
module.exports = (on, config) => {
on('task', {
'readXlsx': readXlsx.read,
'readSheetList': readXlsx.sheetList
})
}