fix(json-schema-2020-12): expand deeply all Schema Objects and complex keywords (#9581)
Refs #9508 Supersedes #9510 Co-authored-by: Julien Bourges <julien.bourges@actility.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* @prettier
|
||||
*/
|
||||
|
||||
describe("JSON Schema 2020-12 complex keywords expansion", () => {
|
||||
it("should deeply expand all Schemas and complex keywords", () => {
|
||||
cy.visit("/pages/json-schema-2020-12-expansion/").then(
|
||||
() => {
|
||||
cy.get(".json-schema-2020-12-accordion")
|
||||
.find(".json-schema-2020-12-accordion__icon--collapsed")
|
||||
.should("not.exist")
|
||||
cy.contains("anyOf1-p1-p2-p1").should("exist")
|
||||
cy.contains("oneOf1-p1-p2-p1").should("exist")
|
||||
cy.contains("Prefix items").should("exist")
|
||||
cy.contains("exampleDef").should("exist")
|
||||
cy.contains("https://json-schema.org/draft/2020-12/vocab/core").should("exist")
|
||||
}
|
||||
)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user