From 8cc160af353e14b3cbd343d32f397e6f1f3c5482 Mon Sep 17 00:00:00 2001 From: Jarlath Holleran Date: Thu, 15 Aug 2024 11:43:25 +0100 Subject: [PATCH] Corrected error type --- e2e/browser/test/e2e.playwright.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/browser/test/e2e.playwright.ts b/e2e/browser/test/e2e.playwright.ts index a8c7ca2..381818b 100644 --- a/e2e/browser/test/e2e.playwright.ts +++ b/e2e/browser/test/e2e.playwright.ts @@ -148,7 +148,7 @@ test("405 problem details error", async ({ page, auth }) => { await Promise.all([ page.waitForRequest((request) => request.method() === "DELETE"), - page.waitForResponse((response) => response.status() === 406), + page.waitForResponse((response) => response.status() === 405), page.click("button[data-testid=methodNotAllowed]"), ]);