Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Updating tests
Liyas Thomasaeebe5015efe
diff --git a/tests/e2e/integration/proxy.spec.js b/tests/e2e/integration/proxy.spec.jsindex 131f1d7d0..bd0242379 100644--- a/tests/e2e/integration/proxy.spec.js+++ b/tests/e2e/integration/proxy.spec.js@@ -12,13 +12,15 @@ describe("Proxy disabled - local request", () => {})})-describe('Proxy enabled - external request', () => {- it('Enable the proxy and make a request to the real cat api', () => {- cy.enableProxy('/?url=https://api.thecatapi.com&path=')- .get('#send').click()- .wait(500)- .get('#response-details-wrapper').should($wrapper => {- expect($wrapper).to.contain('Cat API')+describe("Proxy enabled - external request", () => {+ it("Enable the proxy and make a request to the real cat api", () => {+ cy.enableProxy("/?url=https://api.thecatapi.com&path=")+ .get("#send")+ .click()+ .wait(1000)+ .get("#response-details-wrapper")+ .should($wrapper => {+ expect($wrapper).to.contain("Cat API")})})})