deflake 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +3 -0
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -734,6 +734,9 @@ async function analyzeFailures(artifacts, fullLog, client) {
|
|
|
734
734
|
}
|
|
735
735
|
|
|
736
736
|
const framework = artifacts.length > 0 && artifacts[0].htmlPath?.includes('cypress') ? 'Cypress' : 'Playwright';
|
|
737
|
+
const results = [];
|
|
738
|
+
const processLimit = Math.min(artifacts.length, limit);
|
|
739
|
+
const batchArtifacts = artifacts.slice(0, processLimit);
|
|
737
740
|
|
|
738
741
|
console.log(`🔍 Analyzing ${batchArtifacts.length} failure(s)...`);
|
|
739
742
|
|