+ return <>
+
{test.path.join(' › ')}
« previous
next »
-
}
- {test &&
{test?.title}
}
- {test &&
+
+
{test.title}
+
-
+
{test.location.file}:{test.location.line}
{msToString(test.duration)}
-
}
- {test && (!!test.projectName || labels) &&
- {test && !!test.projectName &&
}
+
+ {(!!test.projectName || labels) &&
+ {!!test.projectName &&
}
{labels &&
}
}
- {test?.results.length === 0 && visibleTestAnnotations.length !== 0 &&
+ {test.results.length === 0 && visibleTestAnnotations.length !== 0 &&
{visibleTestAnnotations.map((annotation, index) => )}
}
- {test && ({
id: String(index),
title:
@@ -88,8 +83,8 @@ export const TestCaseView: React.FC<{
>;
},
- })) || []} selectedTab={String(selectedResultIndex)} setSelectedTab={id => setSelectedResultIndex(+id)} />}
-
;
+ })) || []} selectedTab={String(selectedResultIndex)} setSelectedTab={id => setSelectedResultIndex(+id)} />
+ >;
};
function TestCaseAnnotationView({ annotation: { type, description } }: { annotation: TestAnnotation }) {