You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
406 B

  1. // http://github.com/swagger-api/swagger-ui/issues/5453
  2. describe("#5453: Responses w/o `content` should not render ModelExample", () => {
  3. it("should not render a ModelExample section", () => {
  4. cy.visit("/?url=/documents/bugs/5453.yaml")
  5. .get("#operations-default-get_foo")
  6. .click()
  7. .get(".responses-inner")
  8. .should("not.have.descendants", ".model-example")
  9. })
  10. })