revert: add wait time for bugs/5043 to resolve spec (#7769) (#7775)

Refs affd4b9
This commit is contained in:
Vladimir Gorej
2022-01-19 13:51:52 +01:00
committed by GitHub
parent 5abb5c3f06
commit 302c483f0a

View File

@@ -2,7 +2,6 @@ describe("#5043: path-level $ref path items should inherit global consumes/produ
it("should render consumes options correctly", () => {
cy
.visit("/?url=/documents/bugs/5043/swagger.yaml")
.wait(500) // HACK: wait for external spec ref to resolve (swagger.yaml->status.yaml)
.get("#operations-pet-findPetsByStatus")
.click()
.get(".try-out__btn")
@@ -17,7 +16,6 @@ describe("#5043: path-level $ref path items should inherit global consumes/produ
it("should render produces options correctly", () => {
cy
.visit("/?url=/documents/bugs/5043/swagger.yaml")
.wait(500) // HACK: wait for external spec ref to resolve (swagger.yaml->status.yaml)
.get("#operations-pet-findPetsByStatus")
.click()
.get(".try-out__btn")
@@ -29,4 +27,4 @@ describe("#5043: path-level $ref path items should inherit global consumes/produ
.get(".body-param-content-type select")
.contains("text/csv")
})
})
})