Skip to content

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

TypeScript

test(control-ui): widen rotation e2e assertion past POLL_TIMEOUT_MS

Alfredo Lopez9b466638330f
diff --git a/control-ui/e2e/qa-recorder-connector-edit.spec.ts b/control-ui/e2e/qa-recorder-connector-edit.spec.ts
index deb9dd5e1..b14d8ed5f 100644
--- a/control-ui/e2e/qa-recorder-connector-edit.spec.ts
+++ b/control-ui/e2e/qa-recorder-connector-edit.spec.ts
@@ -295,9 +295,13 @@ test.describe('optional QA recorder: Control UI connector edit', () => {
// transitory DeploymentReady=False/WaitingForReplicas as a failure (the
// B1 defect). Accepting it (as this spec used to) let the bug pass in
// green; asserting its absence makes the test catch a regression.
+ // Must exceed the UI's own POLL_TIMEOUT_MS (180s): the "did not finish
+ // within" terminal message is only emitted at 180s, so a 150s assertion
+ // timeout would expire in the dead window (150s–180s) and fail spuriously
+ // on a slow-but-valid rollout. 185s clears it.
await expect(
page.getByText(/Credentials rotated\./).or(page.getByText(/did not finish within/))
- ).toBeVisible({ timeout: 150_000 })
+ ).toBeVisible({ timeout: 185_000 })
await expect(page.getByText(/Rotation failed:/)).toHaveCount(0)
await screenshotAndLog(page, testInfo, 'control-ui-connector-credential-rotation')
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index ca3bce59c..bbf998248 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.363",
+ "version": "0.1.364",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.363",
+ "version": "0.1.364",
"dependencies": {
"@clerum/llm-providers": "file:../packages/llm-providers",
"@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy",
diff --git a/control-ui/package.json b/control-ui/package.json
index 03d2c79d7..62dfdb3d4 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.363",
+ "version": "0.1.364",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",