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
16 lines
551 B
JavaScript
Executable File
16 lines
551 B
JavaScript
Executable File
describe("Try It Out: schema required properties can be overridden", () => {
|
|
it("should execute", () => {
|
|
cy
|
|
.visit("?tryItOutEnabled=true&url=/documents/features/try-it-out-schema-required-override-allowed.yaml")
|
|
.get("#operations-default-setDeliveryLocation")
|
|
.click()
|
|
.get(".body-param__text")
|
|
.should("include.value", "testProperty")
|
|
.clear() // swagger-ui will auto insert "{}" into textarea
|
|
.get(".execute-wrapper > .btn")
|
|
.click()
|
|
.get(".curl-command")
|
|
.should("exist")
|
|
})
|
|
})
|