Files
Mealient/app/src/androidTest/kotlin/com/atridad/mealient/screen/AuthenticationScreen.kt

20 lines
662 B
Kotlin

package com.atridad.mealient.screen
import androidx.compose.ui.test.SemanticsNodeInteractionsProvider
import io.github.kakaocup.compose.node.element.ComposeScreen
import io.github.kakaocup.compose.node.element.KNode
class AuthenticationScreen(
semanticsProvider: SemanticsNodeInteractionsProvider,
) : ComposeScreen<AuthenticationScreen>(
semanticsProvider = semanticsProvider,
viewBuilderAction = { hasTestTag("authentication-screen") },
) {
val emailInput = child<KNode> { hasTestTag("email-input") }
val passwordInput = child<KNode> { hasTestTag("password-input") }
val loginButton = child<KNode> { hasTestTag("login-button") }
}