From daeb39a8ceeee98279af4b7f5bb2fff3aba535e7 Mon Sep 17 00:00:00 2001 From: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Date: Thu, 16 Jul 2020 10:30:51 +0530 Subject: [PATCH] Apipane fix (#108) Co-authored-by: Nandan Anantharamu --- app/client/cypress/support/commands.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/client/cypress/support/commands.js b/app/client/cypress/support/commands.js index 06eb536b53..220dc1811c 100644 --- a/app/client/cypress/support/commands.js +++ b/app/client/cypress/support/commands.js @@ -178,8 +178,7 @@ Cypress.Commands.add("CreateAPI", apiname => { cy.get(apiwidget.createapi).click({ force: true }); cy.wait("@createNewApi"); cy.get(apiwidget.resourceUrl).should("be.visible"); - cy.get(apiwidget.EditApiName).should("be.visible"); - cy.get(apiwidget.EditApiName).click(); + cy.get(apiwidget.apiTxt).click(); cy.get(apiwidget.apiTxt) .clear() .type(apiname)