Files
Compass/tests/e2e/backend/specs/api/api.test.ts
Okechi Jones-Williams 6b11e6b060 Add minor changes to tests (#20)
* setting up test structure

* .

* added playwright config file, deleted original playwright folder and moved "some.test" file

* continued test structure setup

* Updating test folder structure

* Added database seeding script and backend testing folder structure

* removed the database test

* Replaced db seeding script

* Updated userInformation.ts to use values from choices.tsx

* merge prep

* removing extra unit test, moving api test to correct folder
2025-11-15 15:35:45 +01:00

11 lines
341 B
TypeScript

import { test, expect } from "../../fixtures/base";
test('Check API health', async ({backendPage}) => {
const responseHealth = await backendPage.api.get('/health');
expect(responseHealth.status()).toBe(200)
// const responseBody = await responseHealth.json()
// console.log(JSON.stringify(responseBody, null, 2));
});