function getSpecsPathByVersion(foldersByVersion, fileName) {
  return foldersByVersion.map((folderData) => {
    return {
      path: path.join(__dirname, folderData.path + fileName),
      version: folderData.version
    };
  });
}
Gets an array of objects with the specification file path and the version
@param {array} foldersByVersion An array with the path of the folders that contain the validation test files
@param {*} fileName the name of the file (all scenarios must be in both folders)
@returns {array} An array with objects that contains the version and the specification file path