diff --git a/test/e2e-cypress/tests/bugs/swos-63.js b/test/e2e-cypress/tests/bugs/swos-63.js index 77dbdf03f2d..8b5e7c70647 100644 --- a/test/e2e-cypress/tests/bugs/swos-63.js +++ b/test/e2e-cypress/tests/bugs/swos-63.js @@ -3,13 +3,13 @@ describe("SWOS-63: Schema/Model labeling", () => { it("should render `Schemas` for OpenAPI 3", () => { cy .visit("/?url=/documents/petstore-expanded.openapi.yaml") - .get("section.models > h4") + .get("section.models > h1") .contains("Schemas") }) it("should render `Models` for OpenAPI 2", () => { cy .visit("/?url=/documents/petstore.swagger.yaml") - .get("section.models > h4") + .get("section.models > h1") .contains("Models") }) }) @@ -25,7 +25,7 @@ describe("SWOS-63: Schema/Model labeling", () => { it("should render `Models` for OpenAPI 2", () => { cy .visit("/?url=/documents/petstore.swagger.yaml") - .get("section.models > h4") + .get("section.models > h1") .get("#operations-pet-addPet") .click() .get("a.tablinks[data-name=model]")