From 9c8426486735164864bc2115b76338e5341fe37b Mon Sep 17 00:00:00 2001 From: ganfra Date: Tue, 4 Jun 2024 16:50:05 +0200 Subject: [PATCH] screenshot tests: remove workaround for API 34 now it's handled. --- tests/uitests/src/test/kotlin/ui/ScreenshotTest.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/uitests/src/test/kotlin/ui/ScreenshotTest.kt b/tests/uitests/src/test/kotlin/ui/ScreenshotTest.kt index 5c86e974f1..e079c84e55 100644 --- a/tests/uitests/src/test/kotlin/ui/ScreenshotTest.kt +++ b/tests/uitests/src/test/kotlin/ui/ScreenshotTest.kt @@ -53,10 +53,7 @@ import java.util.Locale open class ScreenshotTest { @get:Rule val paparazzi = Paparazzi( - environment = detectEnvironment().run { - // Workaround to work with API 34 (https://github.com/cashapp/paparazzi/issues/1025) - copy(compileSdkVersion = 33, platformDir = platformDir.replace("34", "33")) - }, + environment = detectEnvironment(), maxPercentDifference = 0.01, renderingMode = SessionParams.RenderingMode.NORMAL, )