diff --git a/test/e2e-cypress/tests/bugs/5043.js b/test/e2e-cypress/tests/bugs/5043.js index d0f2361c..6bd688dd 100644 --- a/test/e2e-cypress/tests/bugs/5043.js +++ b/test/e2e-cypress/tests/bugs/5043.js @@ -1,9 +1,8 @@ -import repeat from "lodash/repeat" - describe("#5043: path-level $ref path items should inherit global consumes/produces", () => { 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") @@ -18,6 +17,7 @@ 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")