@LargeTest
@RunWith(AndroidJUnit4::class)
class LoginTest {
@get:Rule
var activityTestRule = ActivityTestRule(SplashActivity::class.java, true, false)
..
/**
* EmailͰϩάΠϯͯ͠ΥϨοτը໘Λ։͘·Ͱ
*/
@Test
fun emailLogin() {
SplashPageObject.launch(activityTestRule)
WelcomePageObject
.waitUntilShown()
.clickLoginButton()
LoginPageObject
.inputEmail("
[email protected]")
.inputPassword("kyash123")
.clickEmailLoginButton()
WalletPageObject.assertKyashCardInActiveExists()
}
PageObjectΛհͯ͠ૢ࡞ɾݕূΛߦ͏