mirror of
https://github.com/bitwarden/android.git
synced 2024-12-03 11:44:25 +03:00
QA-999: Adding testTags for account switching options (#4324)
This commit is contained in:
parent
2ece0856d4
commit
b183f7af42
2 changed files with 6 additions and 2 deletions
|
@ -9,6 +9,7 @@ import androidx.compose.material3.ripple
|
|||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.remember
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.platform.testTag
|
||||
import androidx.compose.ui.unit.dp
|
||||
import com.x8bit.bitwarden.ui.platform.components.dialog.BitwardenSelectionDialog
|
||||
import com.x8bit.bitwarden.ui.platform.theme.BitwardenTheme
|
||||
|
@ -42,6 +43,7 @@ fun BitwardenBasicDialogRow(
|
|||
vertical = 16.dp,
|
||||
horizontal = 24.dp,
|
||||
)
|
||||
.fillMaxWidth(),
|
||||
.fillMaxWidth()
|
||||
.testTag("AlertSelectionOption"),
|
||||
)
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@ import androidx.compose.material3.Text
|
|||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.platform.testTag
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
|
@ -76,7 +77,8 @@ fun SendEmpty(
|
|||
color = BitwardenTheme.colorScheme.text.primary,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.standardHorizontalMargin(),
|
||||
.standardHorizontalMargin()
|
||||
.testTag("EmptySendListText"),
|
||||
)
|
||||
|
||||
Spacer(modifier = Modifier.height(24.dp))
|
||||
|
|
Loading…
Reference in a new issue