✅ Updating tests
This commit is contained in:
@@ -3,7 +3,7 @@ describe("Proxy disabled - local request", () => {
|
|||||||
cy.seedAndVisit("catapi", "/?url=https://api.thecatapi.com&path=")
|
cy.seedAndVisit("catapi", "/?url=https://api.thecatapi.com&path=")
|
||||||
.get("#url")
|
.get("#url")
|
||||||
.then(el => expect(el.val() === "https://api.thecatapi.com").to.equal(true))
|
.then(el => expect(el.val() === "https://api.thecatapi.com").to.equal(true))
|
||||||
.get("#response-details-wrapper")
|
.get("#response-details-wrapper", { timeout: 24000 })
|
||||||
.should("be.visible")
|
.should("be.visible")
|
||||||
.should($wrapper => {
|
.should($wrapper => {
|
||||||
expect($wrapper).to.contain("FAKE Cat API")
|
expect($wrapper).to.contain("FAKE Cat API")
|
||||||
|
|||||||
Reference in New Issue
Block a user