From 92c9870048b3d0eb99288534764f5626d80eaaf9 Mon Sep 17 00:00:00 2001 From: David Perez Date: Wed, 13 Mar 2024 11:20:00 -0500 Subject: [PATCH] BIT-1591: Add test tag for generator policy (#1135) --- .../bitwarden/ui/tools/feature/generator/GeneratorScreen.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/generator/GeneratorScreen.kt b/app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/generator/GeneratorScreen.kt index 2e4e178ef..285c9892f 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/generator/GeneratorScreen.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/generator/GeneratorScreen.kt @@ -317,6 +317,7 @@ private fun ScrollContent( BitwardenPolicyWarningText( text = stringResource(id = R.string.password_generator_policy_in_effect), modifier = Modifier + .semantics { testTag = "PasswordGeneratorPolicyInEffectLabel" } .padding(horizontal = 16.dp) .fillMaxWidth(), )