mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
QA-948: Adding missing testTags on SSO/TDE views (#4145)
This commit is contained in:
parent
ef1e8403e1
commit
6217532237
2 changed files with 7 additions and 2 deletions
|
@ -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),
|
||||
|
|
|
@ -128,6 +128,7 @@ private fun TrustedDeviceScaffold(
|
|||
isChecked = state.isRemembered,
|
||||
onCheckedChange = handlers.onRememberToggle,
|
||||
modifier = Modifier
|
||||
.testTag("RememberThisDeviceSwitch")
|
||||
.padding(horizontal = 16.dp)
|
||||
.fillMaxWidth(),
|
||||
)
|
||||
|
@ -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(),
|
||||
)
|
||||
|
@ -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))
|
||||
}
|
||||
|
@ -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(),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue