feat: test report pie chart

This commit is contained in:
liyasthomas
2021-08-27 14:32:07 +05:30
parent a3551c6719
commit 71619cf84b
4 changed files with 66 additions and 48 deletions

View File

@@ -2,18 +2,15 @@
<div>
<span
v-if="testResults.description"
class="
border-b border-dividerLight
flex
text-secondaryDark
py-2
px-4
items-center
"
class="flex font-bold text-secondaryDark py-2 px-4 items-center"
>
{{ testResults.description }}
</span>
<div v-if="testResults.expectResults" class="divide-y divide-dividerLight">
<HttpTestResultReport
v-if="testResults.expectResults.length"
:test-results="testResults"
/>
<div
v-for="(result, index) in testResults.expectResults"
:key="`result-${index}`"