UI: make JobHistory Details an anchor to avoid flaky click in Playwright
This commit is contained in:
@@ -92,12 +92,7 @@ export default function JobHistory({ ticker }: Props) {
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
<a href={`/api/jobs/${j.id}`} target="_blank" rel="noreferrer" className="text-sm text-blue-600 hover:underline">API</a>
|
||||
<button
|
||||
onClick={() => navigate(`/jobs/${j.id}`)}
|
||||
className="text-sm text-gray-700 underline"
|
||||
>
|
||||
Details
|
||||
</button>
|
||||
<a href={`/jobs/${j.id}`} className="text-sm text-gray-700 underline">Details</a>
|
||||
{(j.state === 'waiting' || j.state === 'queued') && (
|
||||
<button
|
||||
onClick={() => cancel(j.id)}
|
||||
|
||||
Reference in New Issue
Block a user