From 5e5cdb181d3156415a30cfcc9fa23697da5125b7 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Thu, 12 Mar 2020 21:46:37 +0530 Subject: [PATCH] :white_check_mark: Updating tests --- tests/e2e/integration/proxy.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/integration/proxy.spec.js b/tests/e2e/integration/proxy.spec.js index 607936002..20f6e6865 100644 --- a/tests/e2e/integration/proxy.spec.js +++ b/tests/e2e/integration/proxy.spec.js @@ -13,13 +13,13 @@ 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=") + cy.enableProxy("/?url=https://postwoman.io&path=/.netlify/functions/api") .get("#send") .click() .get("#response-details-wrapper", { timeout: 24000 }) .should("be.visible") .should($wrapper => { - expect($wrapper).to.contain("The Cat API") + expect($wrapper).to.contain("Hello World") }) }) })