fix: missing commas in response header values #6183 (#6515)

This commit is contained in:
Lucia Sarni
2020-10-15 04:37:12 +02:00
committed by GitHub
parent 65ea764b61
commit 99fda81ae0
3 changed files with 60 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
describe("When trying it out", () => {
it("should render the response headers as comma separated lists", () => {
cy.visit("/?url=/documents/bugs/6183.yaml")
.get("#operations-default-get_response_headers")
.click()
.get(".try-out__btn")
.click()
.get(".btn.execute")
.click()
.wait(1000)
.get(".response-col_description .microlight")
.find(("span:contains(\"value1,value2\")"))
.should("exist")
.get(".response-col_description .microlight")
.find(("span:contains(\"value3,value4\")"))
.should("exist")
.get(".response-col_description .microlight")
.find(("span:contains(\"value5,value6\")"))
.should("exist")
})
})