Updated cypress entirely

This commit is contained in:
Jamie Curnow
2023-05-31 11:36:58 +10:00
parent 0461689d65
commit e7791c2a0f
15 changed files with 33 additions and 15 deletions

View File

@ -0,0 +1,12 @@
/// <reference types="Cypress" />
describe('Basic API checks', () => {
it('Should return a valid health payload', function() {
cy.task('backendApiGet', {
path: '/api/',
}).then((data) => {
expect(data.result.healthy, 'healthy should equal true').to.equal(true);
cy.validateSwaggerSchema('get', 200, '/', data);
});
});
});