mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 05:27:57 -05:00
MOSIP-38135 updated history Page changes (#1734)
* MOSIP-38135 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * resolve conflicts Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> * MOSIP-38135 Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in> --------- Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
This commit is contained in:
@@ -51,7 +51,7 @@ public class HistoryPage extends BasePage {
|
||||
}
|
||||
|
||||
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 class HistoryPage extends BasePage {
|
||||
}
|
||||
|
||||
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 class HistoryPage extends BasePage {
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user