diff --git a/tests/e2e/support/objects/account/actions.ts b/tests/e2e/support/objects/account/actions.ts index ed7131a3dba..c09c2d7ca4e 100644 --- a/tests/e2e/support/objects/account/actions.ts +++ b/tests/e2e/support/objects/account/actions.ts @@ -42,7 +42,7 @@ export const requestGdprExport = async (args: { page: Page }): Promise => page.waitForResponse( (resp) => resp.url().endsWith('exportPersonalData') && - resp.status() === 201 && + resp.status() === 202 && resp.request().method() === 'POST' ), // not waiting for the generation report diff --git a/tests/e2e/support/objects/app-admin-settings/groups/actions.ts b/tests/e2e/support/objects/app-admin-settings/groups/actions.ts index caa0f93c4dd..43c3f044265 100644 --- a/tests/e2e/support/objects/app-admin-settings/groups/actions.ts +++ b/tests/e2e/support/objects/app-admin-settings/groups/actions.ts @@ -26,7 +26,7 @@ export const createGroup = async (args: { page: Page; key: string }): Promise - resp.url().endsWith('groups') && resp.status() === 200 && resp.request().method() === 'POST' + resp.url().endsWith('groups') && resp.status() === 201 && resp.request().method() === 'POST' ), page.locator(actionConfirmButton).click() ]) diff --git a/tests/e2e/support/objects/app-admin-settings/users/actions.ts b/tests/e2e/support/objects/app-admin-settings/users/actions.ts index f5c2522a056..abf13820650 100644 --- a/tests/e2e/support/objects/app-admin-settings/users/actions.ts +++ b/tests/e2e/support/objects/app-admin-settings/users/actions.ts @@ -62,7 +62,7 @@ export const createUser = async (args: { const [response] = await Promise.all([ page.waitForResponse( (resp) => - resp.url().endsWith('users') && resp.status() === 200 && resp.request().method() === 'POST' + resp.url().endsWith('users') && resp.status() === 201 && resp.request().method() === 'POST' ), page.locator(actionConfirmButton).click() ])