From e6291cdb8ae860467bd6533858ab7eb7fdc953eb Mon Sep 17 00:00:00 2001 From: Jeppe Bundgaard Date: Mon, 18 May 2026 13:52:01 +0200 Subject: [PATCH] Add response handling for MinIO provisioning in replication E2E test --- tests/e2e/superuser-system-status.smoke.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/e2e/superuser-system-status.smoke.spec.js b/tests/e2e/superuser-system-status.smoke.spec.js index 8616184c..358b582d 100644 --- a/tests/e2e/superuser-system-status.smoke.spec.js +++ b/tests/e2e/superuser-system-status.smoke.spec.js @@ -859,7 +859,9 @@ test.describe("Superuser system status smoke", () => { "Forbindelsen blev testet korrekt." ); await expect(minioPanel.getByRole("button", { name: "Gem og klargør" })).toBeVisible(); + const minioProvisionResponse = page.waitForResponse(/\/superuser\/replication\/minio\/99\/provision$/); await minioPanel.getByRole("button", { name: "Gem og klargør" }).click(); + await minioProvisionResponse; expect(replicationRequests.composeKinds).toContain("database"); expect(replicationRequests.composeKinds).toContain("redis"); expect(replicationRequests.composeKinds).toContain("minio");