feat: Save the number of successful, failed and total executions for Test Run (no-changelog) (#12131)

This commit is contained in:
Eugene
2025-01-07 16:03:16 +01:00
committed by GitHub
parent f7eb901489
commit cc008f9239
9 changed files with 323 additions and 41 deletions

View File

@@ -93,7 +93,7 @@ describe('GET /evaluation/test-definitions/:testDefinitionId/runs', () => {
const testRunRepository = Container.get(TestRunRepository);
const testRun1 = await testRunRepository.createTestRun(testDefinition.id);
// Mark as running just to make a slight delay between the runs
await testRunRepository.markAsRunning(testRun1.id);
await testRunRepository.markAsRunning(testRun1.id, 10);
const testRun2 = await testRunRepository.createTestRun(testDefinition.id);
// Fetch the first page