This update required changing the configuration and test directory structure. Some tests needed to be amended as well to compensate for new Cypress APIs.
16 lines
551 B
JavaScript
16 lines
551 B
JavaScript
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")
|
|
})
|
|
})
|