cambios profundos con grok
This commit is contained in:
@@ -53,6 +53,19 @@
|
||||
document.getElementById('planName').textContent = plan.name;
|
||||
document.getElementById('planMeta').textContent = `Created: ${new Date(plan.createdAt).toLocaleString()} • ${plan.tests.length} tests`;
|
||||
|
||||
// Show automation summary if available
|
||||
const summary = plan.automation_summary;
|
||||
if (summary) {
|
||||
const summaryEl = document.createElement('div');
|
||||
summaryEl.style.cssText = 'margin-top:8px; font-size:13px; background:#1e2937; padding:8px 12px; border-radius:6px; display:inline-block;';
|
||||
summaryEl.innerHTML = `
|
||||
<strong>Automation:</strong>
|
||||
${summary.automatable_percentage}% automatable
|
||||
<span style="color:#64748b;">(${summary.automated} automated • ${summary.partial} partial • ${summary.manual} manual)</span>
|
||||
`;
|
||||
document.getElementById('planMeta').appendChild(summaryEl);
|
||||
}
|
||||
|
||||
renderTests();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user