diff --git a/ui-lib/src/main/res/ui/send_confirmation/values-es/strings.xml b/ui-lib/src/main/res/ui/send_confirmation/values-es/strings.xml index 2d98de889..b60dbdebd 100644 --- a/ui-lib/src/main/res/ui/send_confirmation/values-es/strings.xml +++ b/ui-lib/src/main/res/ui/send_confirmation/values-es/strings.xml @@ -12,26 +12,26 @@ Cancelar Enviando… - Tus tokens están siendo enviados a\n + Tus monedas están siendo enviados a\n %1$s Protegiendo… - Tus tokens están siendo protegidos + Tus monedas están siendo protegidos ¡Protegidos! - Tus tokens han sido protegidos con éxito + Tus monedas han sido protegidos con éxito No se pudo proteger - Hubo un error al intentar proteger tus tokens. Por favor, inténtalo de nuevo. + Hubo un error al intentar proteger tus monedas. Por favor, inténtalo de nuevo. ¡Enviado! - Tus tokens fueron enviados exitosamente a\n + Tus monedas fueron enviados exitosamente a\n %1$s Ver Transacción Cerrar Error al Enviar - Hubo un error al intentar enviar los tokens.\n + Hubo un error al intentar enviar los monedas.\n Por favor, inténtalo nuevamente. Ver Transacción Cerrar diff --git a/ui-lib/src/main/res/ui/send_confirmation/values/strings.xml b/ui-lib/src/main/res/ui/send_confirmation/values/strings.xml index 9ffb99a17..f1459b7db 100644 --- a/ui-lib/src/main/res/ui/send_confirmation/values/strings.xml +++ b/ui-lib/src/main/res/ui/send_confirmation/values/strings.xml @@ -12,26 +12,26 @@ Cancel Sending… - Your tokens are being sent to\n + Your coins are being sent to\n %1$s Shielding… - Your tokens are getting shielded + Your coins are getting shielded Shielded! - Your tokens have been successfully shielded + Your coins have been successfully shielded Unable to shield There was an error attempting to shield your - tokens. Try it again, please. + coins. Try it again, please. Sent! - Your tokens were successfully sent to\n + Your coins were successfully sent to\n %1$s View Transaction Close Send Failed - There was an error attempting to send tokens.\nTry it again, please. + There was an error attempting to send coins.\nTry it again, please. View Transaction Close Report diff --git a/ui-screenshot-test/src/main/java/co/electroniccoin/zcash/ui/screenshot/ScreenshotTest.kt b/ui-screenshot-test/src/main/java/co/electroniccoin/zcash/ui/screenshot/ScreenshotTest.kt index b50d05db9..a2e8ea213 100644 --- a/ui-screenshot-test/src/main/java/co/electroniccoin/zcash/ui/screenshot/ScreenshotTest.kt +++ b/ui-screenshot-test/src/main/java/co/electroniccoin/zcash/ui/screenshot/ScreenshotTest.kt @@ -574,12 +574,18 @@ private fun aboutScreenshots( ScreenshotTest.takeScreenshot(tag, "About 1") } +@OptIn(ExperimentalTestApi::class) private fun seedScreenshots( resContext: Context, tag: String, composeTestRule: ComposeTestRule ) { - composeTestRule.onNode(hasText(resContext.getString(R.string.seed_recovery_header))).also { + composeTestRule + .waitUntilAtLeastOneExists( + hasText(resContext.getString(R.string.seed_recovery_header), ignoreCase = true), + DEFAULT_TIMEOUT_MILLISECONDS + ) + composeTestRule.onNode(hasText(resContext.getString(R.string.seed_recovery_header), ignoreCase = true)).also { it.assertExists() }