mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
13 lines
341 B
JavaScript
13 lines
341 B
JavaScript
/// <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);
|
|
});
|
|
});
|
|
});
|