6183.js 719 B

12345678910111213141516171819202122
  1. describe("When trying it out", () => {
  2. it("should render the response headers as comma separated lists", () => {
  3. cy.visit("/?url=/documents/bugs/6183.yaml")
  4. .get("#operations-default-get_response_headers")
  5. .click()
  6. .get(".try-out__btn")
  7. .click()
  8. .get(".btn.execute")
  9. .click()
  10. .wait(1000)
  11. .get(".response-col_description .microlight")
  12. .find(("span:contains(\"value1,value2\")"))
  13. .should("exist")
  14. .get(".response-col_description .microlight")
  15. .find(("span:contains(\"value3,value4\")"))
  16. .should("exist")
  17. .get(".response-col_description .microlight")
  18. .find(("span:contains(\"value5,value6\")"))
  19. .should("exist")
  20. })
  21. })