remove third party api in cypress test (#14154)
This commit is contained in:
parent
d669cf4e4d
commit
da195a6ca0
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user