Files
kyy f464ba2d31
Some checks failed
Node.js CI / build (push) Failing after 2s
Node.js CI / e2e-tests (+(a11y|security|bugs)/**/*cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/!(o|d|m)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/+(o|d)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/m*.cy.js) (push) Failing after 2s
CodeQL / Analyze (javascript) (push) Failing after 2m49s
Security scan for docker image / build (push) Failing after 51s
Update swagger-ui
2025-06-24 13:40:26 +09:00

22 lines
527 B
JavaScript
Executable File

/**
* @prettier
*/
describe("JSON Schema 2020-12 title keyword", () => {
it("should render a correct title for schemas", () => {
cy.visit("/?url=/documents/features/json-schema-2020-12-title.yaml")
.get(".json-schema-2020-12__title")
.eq(0)
.contains("My Pet")
.should("exist")
.get(".json-schema-2020-12__title")
.eq(1)
.contains("My Pets")
.should("exist")
.get(".json-schema-2020-12__title")
.eq(2)
.contains("Error")
.should("exist")
})
})