Files
swagger-ui/test/e2e-cypress/e2e/features/oas3-request-body-default-views.cy.js
Vladimír Gorej 3e81a4f897 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.
2023-06-07 10:25:32 +02:00

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\"")
})
})
})