feat: apply cumulative update to address various issues (#10324)

This commit is contained in:
Vladimír Gorej
2025-02-27 11:12:42 +01:00
committed by GitHub
parent 621a7f0f76
commit 80d56c9518
298 changed files with 11066 additions and 11680 deletions

View File

@@ -14,7 +14,7 @@ function ExternalDocsTest(baseUrl) {
.get(".info__extdocs")
.should("exist")
.and("contain.text", "Read external docs")
.and("have.attr", "href", "http://swagger.io")
.and("have.attr", "href", "http://swagger.io/")
})
it("should display link to external docs without description", () => {
@@ -32,7 +32,7 @@ function ExternalDocsTest(baseUrl) {
.get(".info__extdocs")
.should("exist")
.and("contain.text", "http://swagger.io")
.and("have.attr", "href", "http://swagger.io")
.and("have.attr", "href", "http://swagger.io/")
})
})
@@ -43,7 +43,7 @@ function ExternalDocsTest(baseUrl) {
.should("exist")
.find("a")
.should("contain.text", "Pet Documentation")
.and("have.attr", "href", "http://swagger.io")
.and("have.attr", "href", "http://swagger.io/")
})
it("should display link to external docs without description", () => {
@@ -52,7 +52,7 @@ function ExternalDocsTest(baseUrl) {
.should("exist")
.find("a")
.should("contain.text", "http://swagger.io")
.and("have.attr", "href", "http://swagger.io")
.and("have.attr", "href", "http://swagger.io/")
})
})
@@ -65,7 +65,7 @@ function ExternalDocsTest(baseUrl) {
.click()
.get(`.models #model-${type} .external-docs a`)
.should("contain.text", `${type} Docs`)
.and("have.attr", "href", "http://swagger.io")
.and("have.attr", "href", "http://swagger.io/")
})
it("should display link without description", () => {
@@ -74,7 +74,7 @@ function ExternalDocsTest(baseUrl) {
.click()
.get(`.models #model-${type}WithoutDescription .external-docs a`)
.should("contain.text", "http://swagger.io")
.and("have.attr", "href", "http://swagger.io")
.and("have.attr", "href", "http://swagger.io/")
})
}
}
@@ -92,7 +92,7 @@ function ExternalDocsTest(baseUrl) {
.get("#operations-pet-updatePet .opblock-external-docs-wrapper .opblock-external-docs__description")
.should("contain.text", "More details about putting a pet")
.get("#operations-pet-updatePet .opblock-external-docs-wrapper .opblock-external-docs__link")
.should("have.attr", "href", "http://swagger.io")
.should("have.attr", "href", "http://swagger.io/")
})
it("should display link to external docs without description", () => {
@@ -102,7 +102,7 @@ function ExternalDocsTest(baseUrl) {
.get("#operations-pet-addPet .opblock-external-docs-wrapper .opblock-external-docs__description")
.should("not.exist")
.get("#operations-pet-addPet .opblock-external-docs-wrapper .opblock-external-docs__link")
.should("have.attr", "href", "http://swagger.io")
.should("have.attr", "href", "http://swagger.io/")
})
})
}