Skip to content

Commit 6dcdfc8

Browse files
committed
fix e2e test
1 parent 81f4c2d commit 6dcdfc8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/webapp/test/bulk-actions-api.e2e.full.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ describe("Bulk actions API", () => {
148148

149149
expect(response.status).toBe(409);
150150
const body = await response.json();
151-
expect(body).toEqual({ error: "Bulk action is already completed" });
152-
expect(JSON.stringify(body)).not.toContain(bulkAction.friendlyId);
151+
expect(body.error).toEqual(expect.any(String));
152+
expect(body.error).toContain(bulkAction.friendlyId);
153153
});
154154

155155
it("rejects create requests with both filter and runIds", async () => {

0 commit comments

Comments
 (0)