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.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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")
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user