![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/rentpix.corals.io/vendor/swagger-api/swagger-ui/test/e2e-cypress/e2e/bugs/ |
describe("#5060: unwanted smart quotes in rendered Markdown", () => { it("should not convert regular quotes to smart quotes", () => { cy .visit("/?url=/documents/bugs/5060.yaml") .get("div.description") .should($el => { const text = $el.get(0).textContent expect(text).to.include(`Example of a simple GET request via curl with bearer HTTP Authentication`) expect(text).to.include(`curl -X GET "https://foobar.com/stuff"`) expect(text).to.include(`-H "Accept: application/json"`) expect(text).to.include(`-H "Authorization: Bearer abc123.xyz.789"`) expect(text.indexOf(`“`)).to.equal(-1) }) }) })