mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 05:27:57 -05:00
INJIMOB-3107 (#1858)
Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
This commit is contained in:
@@ -74,6 +74,10 @@ public class AddNewCardPage extends BasePage{
|
||||
@iOSXCUITFindBy(accessibility = "credentialTypeHeading-DrivingLicenseCredential")
|
||||
private WebElement credentialTypeHeadingMockVerifiableCredential_mdoc;
|
||||
|
||||
@AndroidFindBy(xpath = "//*[@resource-id=\"issuerSearchBar\"]")
|
||||
@iOSXCUITFindBy(accessibility = "issuerSearchBar")
|
||||
private WebElement IssuerSearchBar;
|
||||
|
||||
public AddNewCardPage(AppiumDriver driver) {
|
||||
super(driver);
|
||||
}
|
||||
@@ -209,8 +213,14 @@ public class AddNewCardPage extends BasePage{
|
||||
}
|
||||
|
||||
public MockCertifyLoginPage clickOnDownloadViaMockCertify(){
|
||||
clickOnElement(downloadViaMockCertify);
|
||||
|
||||
if(isElementDisplayed(IssuerSearchBar)){
|
||||
clearTextBoxAndSendKeys(IssuerSearchBar,"mock mobile");
|
||||
}
|
||||
clickOnElement(downloadViaMockCertify);
|
||||
if(isElementDisplayed(downloadViaMockCertify)){
|
||||
clickOnElement(downloadViaMockCertify);
|
||||
}
|
||||
try {
|
||||
Thread.sleep(3000);
|
||||
} catch (InterruptedException e) {
|
||||
|
||||
@@ -144,7 +144,7 @@ public class MockCertifyLoginPage extends BasePage {
|
||||
}
|
||||
|
||||
public void clickOnVerifyButtonIos() {
|
||||
((HidesKeyboard) driver).hideKeyboard();
|
||||
// ((HidesKeyboard) driver).hideKeyoard();
|
||||
clickOnElement(verifyButton);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user