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
@@ -49,6 +49,7 @@ struct AppLockSetupBiometricsScreen: View {
.font(.system(size: 72))
.padding(.top, 58)
.padding(.bottom, 26)
.accessibilityHidden(true)
Text(context.viewState.title)
.font(.compound.headingMDBold)
@@ -66,6 +67,7 @@ struct AppLockSetupBiometricsScreen: View {
VStack(spacing: 16) {
Button(context.viewState.title) { context.send(viewAction: .allow) }
.buttonStyle(.compound(.primary))
.accessibilityIdentifier(A11yIdentifiers.appLockSetupBiometricsScreen.allow)
Button { context.send(viewAction: .skip) } label: {
Text(L10n.screenAppLockSetupBiometricUnlockSkip)