From 5c359d378a4ed8a5969a2dd7c0a8408ef3143698 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Tue, 31 May 2022 12:55:59 +0530 Subject: [PATCH] fix: dom element class name correction Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- scripts/cypress/support/page_objects/mainPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cypress/support/page_objects/mainPage.js b/scripts/cypress/support/page_objects/mainPage.js index 928c8f8e59..783a1cbd17 100644 --- a/scripts/cypress/support/page_objects/mainPage.js +++ b/scripts/cypress/support/page_objects/mainPage.js @@ -303,7 +303,7 @@ export class _mainPage { // .first() // .click(); // cy.wait(3000) - cy.getActiveMenu().find(`.nc-sort-fld-${field}`).should('exist').click(); + cy.getActiveMenu().find(`.nc-fld-${field}`).should('exist').click(); cy.get(".nc-sort-dir-select div").first().click(); cy.snipActiveMenu("Menu_SortField_criteriaSelection"); cy.get( @@ -328,7 +328,7 @@ export class _mainPage { cy.get(".nc-filter-field-select").should("exist").last().click().type(field);; cy.snipActiveMenu("Menu_FilterField-fieldSelect"); - cy.getActiveMenu().find(`.nc-filter-fld-${field}`).should('exist').click(); + cy.getActiveMenu().find(`.nc-fld-${field}`).should('exist').click(); cy.get(".nc-filter-operation-select").should("exist").last().click(); cy.snipActiveMenu("Menu_FilterField-operationSelect");