I want to integrate a function in a spec.ts file where it will read multiple xml data one by one from a directory and will repeat the tests as long as the directories length.
Is there any way to read multiple files or files name from a folder in Cypress or in JavaScript ?