From ef1981c6851c46cb3b4ae1e8e5ebfef70db8a207 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Sat, 22 Aug 2026 09:10:47 -0700 Subject: [PATCH] Fix the admin spec --- e2e/specs/admin.spec.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/e2e/specs/admin.spec.ts b/e2e/specs/admin.spec.ts index 6879a9f1..25a8f578 100644 --- a/e2e/specs/admin.spec.ts +++ b/e2e/specs/admin.spec.ts @@ -654,6 +654,9 @@ test("US-097 work through the action-items queue", async ({seed, as}) => { await openSpaceMenu(admin) + await expect(queueButton).toHaveText("Action Items (4)") + await expect(queueButton.locator(".bg-primary")).toHaveCount(1) + await queueButton.click() const queue = dialog(admin, "Action Items") @@ -678,10 +681,6 @@ test("US-097 work through the action-items queue", async ({seed, as}) => { await expect(carolsRequest).toContainText("requested membership in #Vault") await expect(bobsRequest).toContainText("requested membership in #Vault") - // The button summarizes what the queue holds, so it is checked against a known queue - await expect(queueButton).toHaveText("Action Items (4)") - await expect(queueButton.locator(".bg-primary")).toHaveCount(1) - await carolsRequest.getByRole("button", {name: "Accept"}).click() await expect(admin.getByRole("alert")).toContainText("Member has been added to the room!")