|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>TestCaseMaster Pro</title> |
|
|
<link rel="stylesheet" href="style.css"> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<script src="https://unpkg.com/feather-icons"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
|
|
<script src="components/navbar.js"></script> |
|
|
<script src="components/sidebar.js"></script> |
|
|
<script src="components/test-case-card.js"></script> |
|
|
</head> |
|
|
<body class="bg-gray-50"> |
|
|
<custom-navbar></custom-navbar> |
|
|
|
|
|
<div class="flex"> |
|
|
<custom-sidebar></custom-sidebar> |
|
|
|
|
|
<main class="flex-1 p-8"> |
|
|
<div class="flex justify-between items-center mb-8"> |
|
|
<h1 class="text-3xl font-bold text-gray-800">Test Case Management</h1> |
|
|
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg flex items-center"> |
|
|
<i data-feather="plus" class="mr-2"></i> Create Test Case |
|
|
</button> |
|
|
</div> |
|
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> |
|
|
<test-case-card |
|
|
type="SIT" |
|
|
count="128" |
|
|
icon="layers" |
|
|
color="bg-blue-600"> |
|
|
</test-case-card> |
|
|
|
|
|
<test-case-card |
|
|
type="UAT" |
|
|
count="76" |
|
|
icon="users" |
|
|
color="bg-purple-600"> |
|
|
</test-case-card> |
|
|
|
|
|
<test-case-card |
|
|
type="Functional" |
|
|
count="95" |
|
|
icon="check-circle" |
|
|
color="bg-green-600"> |
|
|
</test-case-card> |
|
|
|
|
|
<test-case-card |
|
|
type="Regression" |
|
|
count="42" |
|
|
icon="refresh-cw" |
|
|
color="bg-yellow-600"> |
|
|
</test-case-card> |
|
|
|
|
|
<test-case-card |
|
|
type="Performance" |
|
|
count="35" |
|
|
icon="zap" |
|
|
color="bg-orange-500"> |
|
|
</test-case-card> |
|
|
|
|
|
<test-case-card |
|
|
type="Security" |
|
|
count="28" |
|
|
icon="shield" |
|
|
color="bg-red-600"> |
|
|
</test-case-card> |
|
|
</div> |
|
|
|
|
|
<div class="mt-12 bg-white rounded-lg shadow p-6"> |
|
|
<h2 class="text-xl font-semibold mb-4">Recent Test Executions</h2> |
|
|
<div class="overflow-x-auto"> |
|
|
<table class="min-w-full divide-y divide-gray-200"> |
|
|
<thead class="bg-gray-50"> |
|
|
<tr> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Test Case</th> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Last Run</th> |
|
|
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> |
|
|
</tr> |
|
|
</thead> |
|
|
<tbody class="bg-white divide-y divide-gray-200"> |
|
|
<tr> |
|
|
<td class="px-6 py-4 whitespace-nowrap">Login functionality</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">Functional</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Passed</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">2 hours ago</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<button class="text-blue-600 hover:text-blue-900 mr-3"><i data-feather="eye"></i></button> |
|
|
<button class="text-gray-600 hover:text-gray-900"><i data-feather="edit"></i></button> |
|
|
</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td class="px-6 py-4 whitespace-nowrap">API response time</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">Performance</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Warning</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">1 day ago</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<button class="text-blue-600 hover:text-blue-900 mr-3"><i data-feather="eye"></i></button> |
|
|
<button class="text-gray-600 hover:text-gray-900"><i data-feather="edit"></i></button> |
|
|
</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td class="px-6 py-4 whitespace-nowrap">Password encryption</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">Security</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Failed</span> |
|
|
</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap">3 days ago</td> |
|
|
<td class="px-6 py-4 whitespace-nowrap"> |
|
|
<button class="text-blue-600 hover:text-blue-900 mr-3"><i data-feather="eye"></i></button> |
|
|
<button class="text-gray-600 hover:text-gray-900"><i data-feather="edit"></i></button> |
|
|
</td> |
|
|
</tr> |
|
|
</tbody> |
|
|
</table> |
|
|
</div> |
|
|
</div> |
|
|
</main> |
|
|
</div> |
|
|
|
|
|
<script> |
|
|
feather.replace(); |
|
|
</script> |
|
|
<script src="script.js"></script> |
|
|
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> |
|
|
</body> |
|
|
</html> |