Skip to content

Commit 0cf6838

Browse files
committed
test: add test tags
1 parent 0efb082 commit 0cf6838

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/to/bitkit/ui/components/Keyboard.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
1111
import androidx.compose.material3.Text
1212
import androidx.compose.runtime.Composable
1313
import androidx.compose.ui.Modifier
14+
import androidx.compose.ui.platform.testTag
1415
import androidx.compose.ui.text.TextStyle
1516
import androidx.compose.ui.text.font.FontWeight
1617
import androidx.compose.ui.text.style.TextAlign
@@ -68,7 +69,7 @@ private fun KeyboardButton(
6869
onClick(text)
6970
},
7071
onClickLabel = text
71-
),
72+
).testTag("KeyboardButton_$text"),
7273
)
7374
}
7475

0 commit comments

Comments
 (0)