test: purge travis

This commit is contained in:
yubathom
2020-02-28 02:07:54 -03:00
parent 011f8c65f5
commit 44de8438ef
2 changed files with 11 additions and 26 deletions

View File

@@ -4,6 +4,7 @@ describe("Proxy disabled - local request", () => {
.get("#url")
.then(el => expect(el.val() === "https://api.thecatapi.com").to.equal(true))
.get("#response-details-wrapper")
.should("be.visible")
.should($wrapper => {
expect($wrapper).to.contain("FAKE Cat API")
})
@@ -15,9 +16,10 @@ describe("Proxy enabled - external request", () => {
cy.enableProxy("/?url=https://api.thecatapi.com&path=")
.get("#send")
.click()
.get("#response-details-wrapper")
.get("#response-details-wrapper", { timeout: 24000 })
.should("be.visible")
.should($wrapper => {
expect($wrapper).to.contain("Cat API")
expect($wrapper).to.contain("The Cat API")
})
})
})