Add test tag for windows image alert dialog

This commit is contained in:
Davide Depau committed 2025-03-30 23:30:02 +02:00
1 parent 665d250e9e
commit ab5de64357
1 file changed
+5 -1
@@ -680,7 +680,11 @@ fun WindowsImageAlertDialog(
onConfirm: () -> Unit,
onCancel: () -> Unit = {},
) = AlertDialog(onDismissRequest = onDismissRequest, title = {
Text(text = stringResource(R.string.is_this_a_windows_iso), textAlign = TextAlign.Center)
Text(
modifier = Modifier.testTag("windows_image_alert_title"),
text = stringResource(R.string.is_this_a_windows_iso),
textAlign = TextAlign.Center
)
}, text = {
Text(
text = stringResource(R.string.a_regular_windows_iso_won_t_work)