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.

5455.js 433 B

1234567891011
  1. // http://github.com/swagger-api/swagger-ui/issues/5455
  2. describe("#5455: Request bodies w/o `examples` should not render a dropdown", () => {
  3. it("should not render a <select> element", () => {
  4. cy.visit("/?url=/documents/bugs/5455.yaml")
  5. .get("#operations-default-post_foo")
  6. .click()
  7. .get(".opblock-section-request-body > .opblock-description-wrapper")
  8. .should("not.have.descendants", "select")
  9. })
  10. })