Files
swagger-ui/test/e2e-cypress/e2e/bugs/4867.cy.js
Vladimír Gorej 3e81a4f897 chore(deps-dev): update cypress to v12 (#8889)
This update required changing the configuration
and test directory structure. Some tests needed
to be amended as well to compensate for new
Cypress APIs.
2023-06-07 10:25:32 +02:00

18 lines
474 B
JavaScript

describe("#4867: callback parameter rendering", () => {
it("should render parameters correctly", () => {
cy
.visit("/?url=/documents/bugs/4867.yaml")
.get("#operations-default-myOp")
.click()
.contains("Callbacks")
.click()
.get(".callbacks-container .opblock-summary-path")
.should("have.attr", "data-path", "http://$request.query.url")
.click()
.get(".parameters-container")
.contains("myParam")
})
})