diff --git a/frontend/src/app/[locale]/projects/[projectId]/runs/[runId]/TestCaseDetailDialog.tsx b/frontend/src/app/[locale]/projects/[projectId]/runs/[runId]/TestCaseDetailDialog.tsx
index 61ba36c..1d27e70 100644
--- a/frontend/src/app/[locale]/projects/[projectId]/runs/[runId]/TestCaseDetailDialog.tsx
+++ b/frontend/src/app/[locale]/projects/[projectId]/runs/[runId]/TestCaseDetailDialog.tsx
@@ -109,14 +109,24 @@ export default function TestCaseDetailDialog({
{templates[testCase.template].uid === 'text' ? (
<>
+
-
{messages.preconditions}
-
{testCase.preConditions}
+
-
{messages.expectedResult}
-
{testCase.expectedResults}
+
>
diff --git a/frontend/src/app/[locale]/projects/[projectId]/runs/[runId]/TestCaseSelector.tsx b/frontend/src/app/[locale]/projects/[projectId]/runs/[runId]/TestCaseSelector.tsx
index f70f83b..dc6bf5d 100644
--- a/frontend/src/app/[locale]/projects/[projectId]/runs/[runId]/TestCaseSelector.tsx
+++ b/frontend/src/app/[locale]/projects/[projectId]/runs/[runId]/TestCaseSelector.tsx
@@ -1,4 +1,4 @@
-import { useState, useEffect, useMemo } from 'react';
+import { useState, useEffect, useMemo, ReactNode } from 'react';
import {
Table,
TableHeader,
@@ -129,7 +129,7 @@ export default function TestCaseSelector({
return isIncluded;
};
- const renderCell = (testCase: CaseType, columnKey: Key) => {
+ const renderCell = (testCase: CaseType, columnKey: string): ReactNode => {
const cellValue = testCase[columnKey as keyof CaseType];
const isIncluded = isCaseIncluded(testCase);
const runStatus = testCase.RunCases && testCase.RunCases.length > 0 ? testCase.RunCases[0].status : 0;
@@ -144,13 +144,13 @@ export default function TestCaseSelector({
endContent={
}
onPress={() => showTestCaseDetailDialog(testCase.id)}
>
- {cellValue}
+ {cellValue as string}
);
case 'priority':
return (
-
+
);
case 'runStatus':
@@ -219,7 +219,7 @@ export default function TestCaseSelector({
);
default:
- return cellValue;
+ return cellValue as string;
}
};