forked from mosip/inji-wallet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/mosip/inji into inji-536…
…-check-status-failed-while-downloading-vc
- Loading branch information
Showing
79 changed files
with
1,923 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
injitest/src/main/java/io/mosip/test/mob/inji/pages/AboutInjiPage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package io.mosip.test.mob.inji.pages; | ||
|
||
import io.appium.java_client.AppiumDriver; | ||
import io.appium.java_client.pagefactory.AndroidFindBy; | ||
import org.openqa.selenium.WebElement; | ||
|
||
public class AboutInjiPage extends BasePage{ | ||
@AndroidFindBy(accessibility = "aboutInji") | ||
private WebElement aboutInjiHeader; | ||
|
||
@AndroidFindBy(uiAutomator = "new UiSelector().textContains(\"Copy\")") | ||
private WebElement copy; | ||
|
||
@AndroidFindBy(uiAutomator = "new UiSelector().textContains(\"Copied\")") | ||
private WebElement copied; | ||
|
||
@AndroidFindBy(uiAutomator = "new UiSelector().resourceId(\"iconIcon\")") | ||
private WebElement backButton; | ||
|
||
public AboutInjiPage(AppiumDriver driver) { | ||
super(driver); | ||
} | ||
|
||
public boolean isaboutInjiHeaderDisplayed() { | ||
return this.isElementDisplayed(aboutInjiHeader, "ABOUT INJI"); | ||
} | ||
|
||
public boolean isAppidIsCopied() { | ||
return this.isElementDisplayed(copied, "Copied"); | ||
} | ||
|
||
public boolean isCopyTextDisplayed() { | ||
return this.isElementDisplayed(copy, "Copy"); | ||
} | ||
|
||
public AboutInjiPage clickOnCopy(){ | ||
clickOnElement(copy); | ||
return this; | ||
} | ||
|
||
public AboutInjiPage clickOnBack(){ | ||
clickOnElement(copy); | ||
return this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.