mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-18 07:24:33 +00:00
Updated cypress entirely
This commit is contained in:
12
test/cypress/e2e/api/Health.cy.js
Normal file
12
test/cypress/e2e/api/Health.cy.js
Normal 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);
|
||||
});
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user