diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ApiPaneTests/API_Search_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ApiPaneTests/API_Search_spec.js index 3a03d62913..44acae6220 100644 --- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ApiPaneTests/API_Search_spec.js +++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ApiPaneTests/API_Search_spec.js @@ -1,7 +1,9 @@ const testdata = require("../../../../fixtures/testdata.json"); import ApiEditor from "../../../../locators/ApiEditor"; -const testUrl = "http://hp-api.herokuapp.com/api/characters/students"; +const testUrl1 = + "http://localhost:5001/v1/dynamicrecords/generaterecords?records=10"; +const testUrl2 = "http://localhost:5001/v1/dynamicrecords/getstudents"; describe("API Panel Test Functionality ", function() { it("Test Search API fetaure", function() { @@ -24,7 +26,9 @@ describe("API Panel Test Functionality ", function() { it("if suggested widgets section alwas appears for all 3 modes", function() { cy.log("Login Successful"); - cy.createAndFillApi(testUrl, ""); + cy.createAndFillApi(testUrl1, ""); + cy.RunAPI(); + cy.createAndFillApi(testUrl2, ""); cy.RunAPI(); cy.get(ApiEditor.jsonResponseTab).click(); cy.checkIfApiPaneIsVisible();