This update required changing the configuration and test directory structure. Some tests needed to be amended as well to compensate for new Cypress APIs.
17 lines
542 B
JavaScript
17 lines
542 B
JavaScript
describe("OAS3 default views", () => {
|
|
describe("multipart/form-data", () => {
|
|
it("should display calculated object string, when no examples provided (#7268)", () => {
|
|
cy.visit(
|
|
"/?url=/documents/features/request-body/multipart/default-views.yaml",
|
|
)
|
|
.get("#operations-default-post_test")
|
|
.click()
|
|
// Expand Try It Out
|
|
.get(".try-out__btn")
|
|
.click()
|
|
.get(".parameters-col_description textarea")
|
|
.should("contains.text", "\"stuff\": \"string\"")
|
|
})
|
|
})
|
|
})
|