url api and updated test

This commit is contained in:
Jacob Anavisca
2020-02-25 22:36:14 -05:00
parent 8cc7b525d9
commit 492d1cfa8f
3 changed files with 22 additions and 68 deletions

View File

@@ -3,8 +3,6 @@ describe("Proxy disabled - local request", () => {
cy.seedAndVisit("catapi", "/?url=https://api.thecatapi.com&path=")
.get("#url")
.then(el => expect(el.val() === "https://api.thecatapi.com").to.equal(true))
.get("#path")
.then(el => expect(el.val() === "").to.equal(true))
.get("#response-details-wrapper")
.should($wrapper => {
expect($wrapper).to.contain("FAKE Cat API")