mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
feat(folio): testTag HomeScreen
This commit is contained in:
1 parent
a0d053ab98
commit
a9bec44cf3
1 file changed
+2
@@ -16,6 +16,7 @@ import androidx.compose.runtime.Composable
|
|||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
|
import androidx.compose.ui.platform.testTag
|
||||||
import androidx.compose.ui.draw.clip
|
import androidx.compose.ui.draw.clip
|
||||||
import androidx.compose.ui.semantics.Role
|
import androidx.compose.ui.semantics.Role
|
||||||
import androidx.compose.ui.semantics.contentDescription
|
import androidx.compose.ui.semantics.contentDescription
|
||||||
@@ -49,6 +50,7 @@ fun HomeScreen(user: String, onLogout: () -> Unit) {
|
|||||||
val total = balanceOf(txns)
|
val total = balanceOf(txns)
|
||||||
|
|
||||||
Screen(
|
Screen(
|
||||||
|
modifier = Modifier.testTag("HomeScreen"),
|
||||||
header = {
|
header = {
|
||||||
Header(
|
Header(
|
||||||
title = "Accounts",
|
title = "Accounts",
|
||||||
|
|||||||
Reference in new issue
Block a user