Skip to content

Commit

Permalink
fix(test) update element selector in tests (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mierenga committed Jan 11, 2022
1 parent 2d82abe commit b3b6bb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e-cypress/tests/bugs/swos-63.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})
})
Expand All @@ -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]")
Expand Down

0 comments on commit b3b6bb7

Please sign in to comment.