This update required changing the configuration and test directory structure. Some tests needed to be amended as well to compensate for new Cypress APIs.
12 lines
406 B
JavaScript
12 lines
406 B
JavaScript
// http://github.com/swagger-api/swagger-ui/issues/5453
|
|
|
|
describe("#5453: Responses w/o `content` should not render ModelExample", () => {
|
|
it("should not render a ModelExample section", () => {
|
|
cy.visit("/?url=/documents/bugs/5453.yaml")
|
|
.get("#operations-default-get_foo")
|
|
.click()
|
|
.get(".responses-inner")
|
|
.should("not.have.descendants", ".model-example")
|
|
})
|
|
})
|