Files
swagger-ui/test/e2e-cypress/e2e/features/parameter-array-missing-items.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

11 lines
429 B
JavaScript

describe("Parameter - Invalid definition with missing array 'items' (#7375)", () => {
it("should render gracefully with fallback to default value", () => {
cy.visit("/?url=/documents/features/parameter-array-missing-items.yaml")
.get("#operations-default-get_example1")
.click()
.get("tbody > tr > .parameters-col_description textarea")
.should("exist")
.should("contains.text", "{}")
})
})