QA-999: Adding testTags for account switching options (#4324)

This commit is contained in:
ifernandezdiaz 2024-11-18 19:03:19 -03:00 committed by GitHub
parent 2ece0856d4
commit b183f7af42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -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"),
)
}

View file

@ -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))