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)