@ -32,7 +32,6 @@ 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);
|
||||||
|
Reference in New Issue
Block a user