diff --git a/webui/cypress/e2e/health-endpoints.cy.ts b/webui/cypress/e2e/health-endpoints.cy.ts new file mode 100644 index 0000000..986f415 --- /dev/null +++ b/webui/cypress/e2e/health-endpoints.cy.ts @@ -0,0 +1,17 @@ +/// + +describe('check all health endpoints', () => { + + it('webUI health endpoint should return success', () => { + cy.request(`/health`).then((response) => { + expect(response.status).to.eq(200) + }) + }) + + it('API health endpoint should return success', () => { + cy.request(`${Cypress.env('API_BASE_URL')}/api/health`).then((response) => { + expect(response.status).to.eq(200) + }) + }) + +})