mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-02-02 17:58:13 -05:00
Cypress debugging
This commit is contained in:
parent
f649e2946e
commit
437b06b64b
@ -32,6 +32,7 @@ describe('Upstream endpoints', () => {
|
|||||||
}
|
}
|
||||||
}).then((data) => {
|
}).then((data) => {
|
||||||
// Check the swagger schema:
|
// Check the swagger schema:
|
||||||
|
cy.wait(1000 * 300); // 5 mins
|
||||||
cy.validateSwaggerSchema('post', 201, '/upstreams', data);
|
cy.validateSwaggerSchema('post', 201, '/upstreams', data);
|
||||||
expect(data.result).to.have.property('id');
|
expect(data.result).to.have.property('id');
|
||||||
expect(data.result.id).to.be.greaterThan(0);
|
expect(data.result.id).to.be.greaterThan(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user