Skip to content

Commit

Permalink
MOSIP-38135 updated history Page changes (#1734)
Browse files Browse the repository at this point in the history
* MOSIP-38135

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflicts

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-38135

Signed-off-by: Anup Nehe <[email protected]>

---------

Signed-off-by: Anup Nehe <[email protected]>
  • Loading branch information
anup-nehe authored Dec 9, 2024
1 parent a5fdde7 commit 2a05fec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions injitest/src/main/java/inji/pages/HistoryPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
}

Expand All @@ -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);
}

Expand Down

0 comments on commit 2a05fec

Please sign in to comment.