Update wording from "Enter recovery key" to "Use recovery key"

This commit is contained in:
Benoit Marty
2026-03-16 17:19:49 +01:00
parent 993250f1ea
commit b5830f5016
4 changed files with 5 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
appId: ${MAESTRO_APP_ID} appId: ${MAESTRO_APP_ID}
--- ---
- extendedWaitUntil: - extendedWaitUntil:
visible: "Enter recovery key" visible: "Use recovery key"
timeout: 30000 timeout: 30000
- takeScreenshot: build/maestro/150-Verify - takeScreenshot: build/maestro/150-Verify
- tapOn: "Enter recovery key" - tapOn: "Use recovery key"
- tapOn: - tapOn:
id: "verification-recovery_key" id: "verification-recovery_key"
- inputText: ${MAESTRO_RECOVERY_KEY} - inputText: ${MAESTRO_RECOVERY_KEY}

View File

@@ -125,7 +125,7 @@ private fun ChooseSelfVerificationModeButtons(
if (state.buttonsState.data.canEnterRecoveryKey) { if (state.buttonsState.data.canEnterRecoveryKey) {
Button( Button(
modifier = Modifier.fillMaxWidth(), modifier = Modifier.fillMaxWidth(),
text = stringResource(R.string.screen_session_verification_enter_recovery_key), text = stringResource(R.string.screen_identity_confirmation_use_recovery_key),
onClick = onUseRecoveryKey, onClick = onUseRecoveryKey,
) )
} }

View File

@@ -60,7 +60,7 @@ class ChooseSessionVerificationModeViewTest {
aChooseSelfVerificationModeState(AsyncData.Success(aButtonsState(canEnterRecoveryKey = true))), aChooseSelfVerificationModeState(AsyncData.Success(aButtonsState(canEnterRecoveryKey = true))),
onEnterRecoveryKey = callback, onEnterRecoveryKey = callback,
) )
rule.clickOn(R.string.screen_session_verification_enter_recovery_key) rule.clickOn(R.string.screen_identity_confirmation_use_recovery_key)
} }
} }

View File

@@ -288,8 +288,7 @@
"includeRegex" : [ "includeRegex" : [
"screen_welcome_.*", "screen_welcome_.*",
"screen_notification_optin_.*", "screen_notification_optin_.*",
"screen_identity_.*", "screen_identity_.*"
"screen_session_verification_enter_recovery_key"
] ]
}, },
{ {