From 2a05fec3687f57a9ff5f1c91d18095f9ea00fbd6 Mon Sep 17 00:00:00 2001 From: anup-nehe <117707464+anup-nehe@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:34:05 +0530 Subject: [PATCH] MOSIP-38135 updated history Page changes (#1734) * MOSIP-38135 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-38135 Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe --- injitest/src/main/java/inji/pages/HistoryPage.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/injitest/src/main/java/inji/pages/HistoryPage.java b/injitest/src/main/java/inji/pages/HistoryPage.java index 7157bdb261..3f7580f2d5 100644 --- a/injitest/src/main/java/inji/pages/HistoryPage.java +++ b/injitest/src/main/java/inji/pages/HistoryPage.java @@ -51,7 +51,7 @@ private boolean verifyHistoryAndroidforInsuranceCard(String vcNumber) { } private boolean verifyHistoryIosInsuranceCard(String vcNumber) { - By locator = By.xpath("//*[@name=\"Health Insurance " + vcNumber + " is downloaded.\"]"); + By locator = By.xpath("//*[@name=\"Health Insurance is downloaded.\"]"); return this.isElementDisplayed(locator); } @@ -168,12 +168,12 @@ public boolean verifyActivationFailedRecordInHistory(String vcNumber, Target os) } private boolean verifyActivationFailedRecordIos(String vcNumber) { - By locator = By.xpath("//*[contains(@name,'National ID " + vcNumber + " has failed.')]"); + By locator = By.xpath("//*[contains(@name,'National ID has failed.')]"); return this.isElementDisplayed(locator); } private boolean verifyActivationFailedRecordAndroid(String vcNumber) { - By locator = By.xpath("//*[contains(@text,'National ID " + vcNumber + " has failed.')]"); + By locator = By.xpath("//*[contains(@text,'National ID has failed.')]"); return this.isElementDisplayed(locator); } @@ -188,7 +188,7 @@ public boolean verifyActivationSuccessfulRecordInHistory(String vcNumber, Target } private boolean verifyActivationSuccessfulRecordIos(String vcNumber) { - By locator = By.xpath("//*[contains(@name,'Activation of MOSIP National ID " + vcNumber + " is successful.')]"); + By locator = By.xpath("//*[contains(@name,'Activation of MOSIP National ID is successful.')]"); return this.isElementDisplayed(locator); }