test: select retry trace fixture task

This commit is contained in:
Codex
2026-05-20 04:38:12 +00:00
parent fe54b86782
commit 8df0663a92
+1
View File
@@ -1192,6 +1192,7 @@ async function runCodeQueueRetryTraceFixture(page: Page, frontendUrl: string): P
await page.goto(`${frontendUrl}/app/code-queue/`, { waitUntil: "domcontentloaded", timeout: 15000 });
await page.waitForSelector('[data-testid="code-queue-page"]', { timeout: 15000 });
await page.waitForSelector(`[data-testid="codex-task-${taskId}"]`, { timeout: 15000 });
await page.locator(`[data-testid="codex-task-${taskId}"]`).click();
await page.waitForSelector('[data-testid="codex-execution-summary-current"]', { timeout: 15000 });
await page.waitForFunction(() => {
const current = document.querySelector('[data-testid="codex-execution-summary-current"]') as HTMLDetailsElement | null;