fix: wait longer for web-probe chat submit trace (#574)
Co-authored-by: Codex <codex@noreply.local>
This commit is contained in:
@@ -505,12 +505,12 @@ async function sendPrompt(text) {
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}, { timeout: 20000 }).catch((error) => ({ waitError: errorSummary(error) }));
|
||||
}, { timeout: 45000 }).catch((error) => ({ waitError: errorSummary(error) }));
|
||||
await submit.click();
|
||||
const chatResponse = await chatResponsePromise;
|
||||
await page.waitForTimeout(500);
|
||||
if (chatResponse?.waitError) {
|
||||
const sideEffect = await waitForPromptSideEffect(beforeEvidence, 12000);
|
||||
const sideEffect = await waitForPromptSideEffect(beforeEvidence, 5000);
|
||||
if (sideEffect.submitted) {
|
||||
return {
|
||||
beforeUrl,
|
||||
|
||||
Reference in New Issue
Block a user