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!")