From 202b4dfa3e2dddb337b7ab77529690bd37b821f5 Mon Sep 17 00:00:00 2001 From: Lakshmi Narayanan Ramakrishnan <132704359+lramakr@users.noreply.github.com> Date: Mon, 13 Jan 2025 10:26:21 -0700 Subject: [PATCH] CNT-120 fix report failure (#2168) --- .../cypress/e2e/features/nbs-classic/place.feature | 2 +- .../regression/cypress/e2e/pages/nbs-classic/home.page.js | 6 +++--- .../cypress/e2e/pages/page-library/searchAndFilter.page.js | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/testing/regression/cypress/e2e/features/nbs-classic/place.feature b/testing/regression/cypress/e2e/features/nbs-classic/place.feature index ceafc396de..d9bdac260d 100644 --- a/testing/regression/cypress/e2e/features/nbs-classic/place.feature +++ b/testing/regression/cypress/e2e/features/nbs-classic/place.feature @@ -1,4 +1,4 @@ -Feature: Classic NBS - Dedupe - User can view data in NBS Providers +Feature: Classic NBS - Dedupe - User can view data in NBS Place Background: Given I am logged in as secure user and stay on classic diff --git a/testing/regression/cypress/e2e/pages/nbs-classic/home.page.js b/testing/regression/cypress/e2e/pages/nbs-classic/home.page.js index 16cb15ccd6..89549f58d9 100644 --- a/testing/regression/cypress/e2e/pages/nbs-classic/home.page.js +++ b/testing/regression/cypress/e2e/pages/nbs-classic/home.page.js @@ -48,9 +48,9 @@ class ClassicHomePage { cy.contains('button', 'Add new').eq(0).click() cy.contains('button', 'Add new patient').eq(0).click() cy.wait(2000) - cy.get("#asOf").eq(0).clear() - cy.get("#asOf").eq(0).type('03/04/2024'); - cy.contains('button', 'Save changes').eq(0).click() + cy.get('input[id="administrative.asOf"]').eq(0).clear() + cy.get('input[id="administrative.asOf"]').eq(0).type('03/04/2024'); + cy.contains('button', 'Save').eq(0).click() cy.wait(3000) cy.get('body').then(($body) => { if($body.find('a:contains("View patient")').length > 0) { diff --git a/testing/regression/cypress/e2e/pages/page-library/searchAndFilter.page.js b/testing/regression/cypress/e2e/pages/page-library/searchAndFilter.page.js index 48767b61e7..5b785282fb 100644 --- a/testing/regression/cypress/e2e/pages/page-library/searchAndFilter.page.js +++ b/testing/regression/cypress/e2e/pages/page-library/searchAndFilter.page.js @@ -82,7 +82,6 @@ class SearchAndFilterPage { enterTextInMultiInputValue(value) { cy.get('.multi-select__input').type(value); cy.get('.multi-select__option--is-focused').click(); - cy.get('#values').click(); } showingContainedResults(text, columnName) {