Add UI tests for optional app lock setup. (#2046)

This commit is contained in:
Doug
2023-11-08 15:33:40 +00:00
committed by GitHub
parent e04a55eaef
commit 07313926c9
42 changed files with 360 additions and 71 deletions
@@ -129,11 +129,13 @@ extension View {
Button(item.primaryButton.title, role: item.primaryButton.role) {
item.primaryButton.action?()
}
.accessibilityIdentifier(A11yIdentifiers.alertInfo.primaryButton)
if let secondaryButton = item.secondaryButton {
Button(secondaryButton.title, role: secondaryButton.role) {
secondaryButton.action?()
}
.accessibilityIdentifier(A11yIdentifiers.alertInfo.secondaryButton)
}
} message: { item in
if let message = item.message {