Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(e2e): drop the unused initial Retry-After value in the paced login

Alfredo Lopezb81836acbc2c
diff --git a/desktop-app/test/e2e-playwright/workflowUi.ts b/desktop-app/test/e2e-playwright/workflowUi.ts
index 22f7cc6e8..73578efb3 100644
--- a/desktop-app/test/e2e-playwright/workflowUi.ts
+++ b/desktop-app/test/e2e-playwright/workflowUi.ts
@@ -425,7 +425,7 @@ async function pacedPasswordLogin(
}
const first = await attempt()
if (first.status !== 429) return first
- let retryAfterSeconds = Number.NaN
+ let retryAfterSeconds: number
try {
retryAfterSeconds = Number(JSON.parse(first.body).retryAfterSeconds)
} catch {