@elisra-devops/docgen-data-provider 1.136.3 → 1.136.5

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.
@@ -3074,6 +3074,9 @@ class ResultDataProvider {
3074
3074
  }
3075
3075
  const suiteTestCaseItem = point === null || point === void 0 ? void 0 : point.suiteTestCase;
3076
3076
  const testCaseId = Number((point === null || point === void 0 ? void 0 : point.testCaseId) || ((_a = suiteTestCaseItem === null || suiteTestCaseItem === void 0 ? void 0 : suiteTestCaseItem.workItem) === null || _a === void 0 ? void 0 : _a.id) || (suiteTestCaseItem === null || suiteTestCaseItem === void 0 ? void 0 : suiteTestCaseItem.testCaseId) || 0);
3077
+ if (useLatestTestCaseProperties) {
3078
+ logger_1.default.debug(`[TestReporter][LatestProperties] Fetching latest test case work item for testCaseId=${testCaseId}, runId=${runId}, resultId=${resultId}`);
3079
+ }
3077
3080
  const suiteTestCaseRevision = this.resolveSuiteTestCaseRevision(suiteTestCaseItem);
3078
3081
  const pointAsOfTimestamp = useRunlessAsOf
3079
3082
  ? String((point === null || point === void 0 ? void 0 : point.pointAsOfTimestamp) || '').trim()
@@ -4643,7 +4646,7 @@ class ResultDataProvider {
4643
4646
  logger_1.default.error(`Error stack: ${err.stack}`);
4644
4647
  return null;
4645
4648
  }
4646
- }, [selectedFields, isQueryMode, point, includeAllHistory, useRunlessAsOf]);
4649
+ }, [selectedFields, isQueryMode, point, includeAllHistory, useRunlessAsOf, useLatestTestCaseProperties]);
4647
4650
  }
4648
4651
  getTestOutcome(resultData) {
4649
4652
  // Default outcome if nothing else is available