Files
swagger-ui/test/e2e-cypress/e2e/features/oas3-callbacks.cy.js
kyy f464ba2d31
Some checks failed
Node.js CI / build (push) Failing after 2s
Node.js CI / e2e-tests (+(a11y|security|bugs)/**/*cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/!(o|d|m)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/+(o|d)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/m*.cy.js) (push) Failing after 2s
CodeQL / Analyze (javascript) (push) Failing after 2m49s
Security scan for docker image / build (push) Failing after 51s
Update swagger-ui
2025-06-24 13:40:26 +09:00

20 lines
535 B
JavaScript
Executable File

/**
* Related to // https://github.com/swagger-api/swagger-ui/issues/9222.
*/
describe("OpenAPI 3.0 Callbacks", () => {
it("should render all defined callbacks", () => {
cy.visit(
"/?url=/documents/features/oas3-callbacks.yaml"
)
.get("#operations-Device-register")
.click()
.get(".opblock-section-header .tab-item.false")
.click()
.get("#operations-callbacks-callbackOne")
.should("be.visible")
.get("#operations-callbacks-callbackTwo")
.should("be.visible")
})
})