mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-24 05:38:15 -05: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);
|
|
});
|
|
});
|
|
});
|