No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

12345678910111213141516171819202122
  1. describe("#5072: x-www-form-urlencoded request body input when `properties` is missing", () => {
  2. it("should provide a JSON input for an empty object schema", () => {
  3. cy
  4. .visit("?url=/documents/bugs/5072/empty.yaml")
  5. .get("#operations-default-postObject")
  6. .click()
  7. .get(".try-out__btn")
  8. .click()
  9. .get(`.opblock-section-request-body textarea`)
  10. .should("have.value", "{}")
  11. })
  12. it("should provide a JSON input for an additionalProperties object schema", () => {
  13. cy
  14. .visit("?url=/documents/bugs/5072/additional.yaml")
  15. .get("#operations-default-postObject")
  16. .click()
  17. .get(".try-out__btn")
  18. .click()
  19. .get(`.opblock-section-request-body textarea`)
  20. .contains(`"additionalProp1": "string"`)
  21. })
  22. })