     }
     for file in logsTestFiles {
         if file.hasSuffix(summariesPlistSuffix) {
-            summariesPlistFile = logsTestPath + "/" + file
-            break
-        }
-    }
-    return summariesPlistFile
-}
-
-private func getTestSummariesPlistJson(logsTestPath: String) -> JSON {
-    let summariesPlistFile = findTestSummariesPlistFile(logsTestPath: logsTestPath)
-
-    let summariesPlistDict = (NSDictionary(contentsOfFile: summariesPlistFile) as? Dictionary<String, AnyObject>) ?? Dictionary<String, AnyObject>()
-    return JSON(summariesPlistDict)
+            summariesPlistFiles.append(logsTestPath + "/" + file)
+        }
+    }
+    return summariesPlistFiles
+}
+
+private func getTestSummariesPlistJsons(logsTestPath: String) -> [JSON] {
+    var jsons = [JSON]()
+    let summariesPlistFiles = findTestSummariesPlistFiles(logsTestPath: logsTestPath)
+
+    summariesPlistFiles.forEach { summariesPlistFile in
+        let summariesPlistDict = (NSDictionary(contentsOfFile: summariesPlistFile) as? Dictionary<String, AnyObject>) ?? Dictionary<String, AnyObject>()
+        jsons.append(JSON(summariesPlistDict))
+    }
+
+    return jsons
 }
 
 /**

    }
}


// ====== main ======


var excludeIdenticalScreenshots = excludeIdenticalScreenshotsOptionValue != nil

let logsTestPath = logsTestPathOptionValue!
let testSummariesPlistJsons = getTestSummariesPlistJsons(logsTestPath: logsTestPath)

// save the last screenshots if --screenshotsPath option is passed
if let screenshotsPathOptionValue = screenshotsPathOptionValue {
