Created
September 13, 2024 12:51
-
-
Save SarahElson/40eb4f07631c03f78c9e055e5869ea6d to your computer and use it in GitHub Desktop.
How to Test Biometric Authentication With Appium
This file contains hidden or 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
public class BiometricAuthTests extends BaseTest { | |
@Test | |
public void testFingerPrintAuthenticationLogin() { | |
final MainPage mainPage = new MainPage(this.androidDriverManager.getAndroidDriver()); | |
final LoginPage loginPage = mainPage.openLoginPage(); | |
loginPage.performBioMetricLogin(1); | |
assertEquals(loginPage.getSuccessMessageTitle(), "Success"); | |
assertEquals(loginPage.getSuccessMessageText(), "You are logged in through Fingerprint!"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment