Skip to content

Commit

Permalink
QA-948: Adding missing testTags on SSO/TDE views (#4145)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifernandezdiaz authored Oct 23, 2024
1 parent ef1e840 commit 6217532
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ private fun EnterpriseSignOnScreenContent(
BitwardenTextField(
modifier = Modifier
.padding(horizontal = 16.dp)
.fillMaxWidth(),
.fillMaxWidth()
.testTag("OrgSSOIdentifierEntry"),
value = state.orgIdentifierInput,
onValueChange = onOrgIdentifierInputChange,
label = stringResource(id = R.string.org_identifier),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ private fun TrustedDeviceScaffold(
isChecked = state.isRemembered,
onCheckedChange = handlers.onRememberToggle,
modifier = Modifier
.testTag("RememberThisDeviceSwitch")
.padding(horizontal = 16.dp)
.fillMaxWidth(),
)
Expand All @@ -149,6 +150,7 @@ private fun TrustedDeviceScaffold(
label = stringResource(id = R.string.approve_with_my_other_device),
onClick = handlers.onApproveWithDeviceClick,
modifier = Modifier
.testTag("ApproveWithOtherDeviceButton")
.padding(horizontal = 16.dp)
.fillMaxWidth(),
)
Expand All @@ -161,7 +163,8 @@ private fun TrustedDeviceScaffold(
onClick = handlers.onApproveWithAdminClick,
modifier = Modifier
.padding(horizontal = 16.dp)
.fillMaxWidth(),
.fillMaxWidth()
.testTag("RequestAdminApprovalButton"),
)
Spacer(modifier = Modifier.height(12.dp))
}
Expand All @@ -171,6 +174,7 @@ private fun TrustedDeviceScaffold(
label = stringResource(id = R.string.approve_with_master_password),
onClick = handlers.onApproveWithPasswordClick,
modifier = Modifier
.testTag("ApproveWithMasterPasswordButton")
.padding(horizontal = 16.dp)
.fillMaxWidth(),
)
Expand Down

0 comments on commit 6217532

Please sign in to comment.