diff --git a/test/e2e/cypress/integration/single-backend/roles.spec.js b/test/e2e/cypress/integration/single-backend/roles.spec.js index f0ee9f80f..e8c2d1385 100644 --- a/test/e2e/cypress/integration/single-backend/roles.spec.js +++ b/test/e2e/cypress/integration/single-backend/roles.spec.js @@ -4,7 +4,9 @@ describe('Roles', () => { cy.request('POST', `${kuzzleUrl}/admin/_resetSecurity`) cy.request('POST', `${kuzzleUrl}/_createFirstAdmin`, { - content: {}, + content: { + profileIds: ['admin'] + }, credentials: { local: { username: 'admin',