Skip to content

Commit

Permalink
QA-955: Adding testTag to About screen rows (#4163)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifernandezdiaz authored Oct 25, 2024
1 parent 33a4304 commit 0a308a3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ private fun ContentColumn(
text = stringResource(id = R.string.bitwarden_help_center),
onConfirmClick = onHelpCenterClick,
dialogTitle = stringResource(id = R.string.continue_to_help_center),
modifier = Modifier.testTag("BitwardenHelpCenterRow"),
dialogMessage = stringResource(
id = R.string.learn_more_about_how_to_use_bitwarden_on_the_help_center,
),
Expand All @@ -189,13 +190,15 @@ private fun ContentColumn(
text = stringResource(id = R.string.privacy_policy),
onConfirmClick = onPrivacyPolicyClick,
dialogTitle = stringResource(id = R.string.continue_to_privacy_policy),
modifier = Modifier.testTag("PrivacyPolicyRow"),
dialogMessage = stringResource(
id = R.string.privacy_policy_description_long,
),
)
BitwardenExternalLinkRow(
text = stringResource(id = R.string.web_vault),
onConfirmClick = onWebVaultClick,
modifier = Modifier.testTag("BitwardenWebVaultRow"),
dialogTitle = stringResource(id = R.string.continue_to_web_app),
dialogMessage = stringResource(
id = R.string.explore_more_features_of_your_bitwarden_account_on_the_web_app,
Expand All @@ -205,19 +208,22 @@ private fun ContentColumn(
text = stringResource(id = R.string.learn_org),
onConfirmClick = onLearnAboutOrgsClick,
dialogTitle = stringResource(id = R.string.continue_to_x, "bitwarden.com"),
modifier = Modifier.testTag("LearnAboutOrganizationsRow"),
dialogMessage = stringResource(
id = R.string.learn_about_organizations_description_long,
),
)
BitwardenExternalLinkRow(
text = stringResource(R.string.give_feedback),
onConfirmClick = onGiveFeedbackClick,
modifier = Modifier.testTag("GiveFeedbackRow"),
dialogTitle = stringResource(R.string.continue_to_give_feedback),
dialogMessage = stringResource(R.string.continue_to_provide_feedback),
)
CopyRow(
text = state.version,
onClick = onVersionClick,
modifier = Modifier.testTag("CopyAboutInfoRow"),
)
Box(
modifier = Modifier
Expand Down

0 comments on commit 0a308a3

Please sign in to comment.