From ab66429b6408007bf5675410159dea469992c563 Mon Sep 17 00:00:00 2001 From: WendyFPM Date: Tue, 4 Jun 2024 00:07:57 -0400 Subject: [PATCH] updateMethodInDT --- pages/decisionTables.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pages/decisionTables.js b/pages/decisionTables.js index a8c6d78..3a35df8 100644 --- a/pages/decisionTables.js +++ b/pages/decisionTables.js @@ -71,11 +71,7 @@ export class DecisionTable { searchDecisionTableAndSelectOptions(decisionTableName, option) { cy.xpath(selectors.tableDT).should('be.visible'); cy.xpath(selectors.menuDT).should('be.visible'); - cy.xpath(selectors.searchDTinput) - .type(decisionTableName, { delay: 51 }) - .should("have.value", decisionTableName); - cy.get(selectors.loadingSpinnerDT).should('be.visible'); - cy.get(selectors.loadingSpinnerDT).should('not.be.visible'); + this.searchDecisionTable(decisionTableName); cy.xpath(selectors.menuDT).first().click(); switch (option) { case "edit":