Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

35 righe
1.1 KiB

  1. /**
  2. * @prettier
  3. */
  4. describe("#5452: <Select /> crashing in Parameters", function() {
  5. describe("in OpenAPI 3", () => {
  6. it("should not result in a render error", function() {
  7. cy.visit("http://localhost:3230/?url=/documents/bugs/5452/openapi.yaml")
  8. .get("#operations-default-get_endpoint")
  9. .click()
  10. .get(".parameters > tbody > tr > .col > select")
  11. .select("")
  12. .get(".parameters > tbody > tr > .col > select")
  13. .should("exist")
  14. .select("fruit")
  15. .get(".parameters > tbody > tr > .col > select")
  16. .should("exist")
  17. })
  18. })
  19. describe("in Swagger 2", () => {
  20. it("should not result in a render error", function() {
  21. cy.visit("http://localhost:3230/?url=/documents/bugs/5452/swagger.yaml")
  22. .get("#operations-default-get_endpoint")
  23. .click()
  24. .get(".parameters > tbody > tr > .col > select")
  25. .select("")
  26. .get(".parameters > tbody > tr > .col > select")
  27. .should("exist")
  28. .select("fruit")
  29. .get(".parameters > tbody > tr > .col > select")
  30. .should("exist")
  31. })
  32. })
  33. })