diff --git a/frontend/cypress/integration/projects/overview.spec.ts b/frontend/cypress/integration/projects/overview.spec.ts index 126542288f..1435e85e02 100644 --- a/frontend/cypress/integration/projects/overview.spec.ts +++ b/frontend/cypress/integration/projects/overview.spec.ts @@ -23,12 +23,12 @@ describe('project overview', () => { after(() => { cy.request({ method: 'DELETE', - url: `${baseUrl}/api/admin/features/${featureToggleName}-A`, + url: `${baseUrl}/api/admin/projects/default/features/${featureToggleName}-A`, failOnStatusCode: false, }); cy.request({ method: 'DELETE', - url: `${baseUrl}/api/admin/features/${featureToggleName}-B`, + url: `${baseUrl}/api/admin/projects/default/features/${featureToggleName}-B`, failOnStatusCode: false, }); cy.request({ diff --git a/frontend/cypress/support/API.ts b/frontend/cypress/support/API.ts index cde08909f7..d0dde3d2f4 100644 --- a/frontend/cypress/support/API.ts +++ b/frontend/cypress/support/API.ts @@ -24,7 +24,7 @@ export const createFeature_API = ( export const deleteFeature_API = (name: string): Chainable => { cy.request({ method: 'DELETE', - url: `${baseUrl}/api/admin/features/${name}`, + url: `${baseUrl}/api/admin/projects/default/features/${name}`, }); return cy.request({ method: 'DELETE',