From 7977db0cb56c51dfd3bbb1460b97e67fbc046c5d Mon Sep 17 00:00:00 2001 From: karlOS123testing Date: Thu, 26 Sep 2024 01:07:46 -0400 Subject: [PATCH] fix smartInbox --- pages/smartInbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/smartInbox.js b/pages/smartInbox.js index c749cb4..2eaafe1 100644 --- a/pages/smartInbox.js +++ b/pages/smartInbox.js @@ -4,7 +4,7 @@ export class SmartInbox { searchTask(taskName){ cy.xpath('//tbody//tr').should('be.visible'); cy.get(selectors.searchTask).type(taskName); - cy.get(selectors.searchTask).type('{enter}'); + cy.get(selectors.pressSelectOptionSaveSearch).type('{enter}'); cy.get(selectors.loadingSpinnerTask).should('be.visible'); cy.get(selectors.loadingSpinnerTask).should('not.be.visible'); cy.xpath("//table//td//*[contains(text(),'"+taskName+"')]").should('be.visible'); @@ -75,7 +75,7 @@ export class SmartInbox { pressSelectOptionSaveSearch(option) { cy.get(selectors.optionSaveSearch).contains(option).click(); - cy.get(selectors.pagination).should("be.visible"); + //cy.get(selectors.pagination).should("be.visible"); } writeRuleName(name) {