Updated swagger cypress package,

which works with proxies
This commit is contained in:
Jamie Curnow
2024-10-15 23:54:39 +10:00
parent 351ba8dacd
commit f48e1b46a8
12 changed files with 52 additions and 69 deletions

View File

@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />
describe('Basic API checks', () => {
it('Should return a valid health payload', function () {
@ -12,7 +12,7 @@ describe('Basic API checks', () => {
it('Should return a valid schema payload', function () {
cy.task('backendApiGet', {
path: '/api/schema',
path: '/api/schema?ts=' + Date.now(),
}).then((data) => {
expect(data.openapi).to.be.equal('3.1.0');
});