mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
screenshot tests: remove workaround for API 34 now it's handled.
This commit is contained in:
@@ -53,10 +53,7 @@ import java.util.Locale
|
|||||||
open class ScreenshotTest {
|
open class ScreenshotTest {
|
||||||
@get:Rule
|
@get:Rule
|
||||||
val paparazzi = Paparazzi(
|
val paparazzi = Paparazzi(
|
||||||
environment = detectEnvironment().run {
|
environment = detectEnvironment(),
|
||||||
// Workaround to work with API 34 (https://github.com/cashapp/paparazzi/issues/1025)
|
|
||||||
copy(compileSdkVersion = 33, platformDir = platformDir.replace("34", "33"))
|
|
||||||
},
|
|
||||||
maxPercentDifference = 0.01,
|
maxPercentDifference = 0.01,
|
||||||
renderingMode = SessionParams.RenderingMode.NORMAL,
|
renderingMode = SessionParams.RenderingMode.NORMAL,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user