Improve screenshot testing with ComposablePreviewScanner (#3125)

* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
This commit is contained in:
Jorge Martin Espinosa
2024-07-03 13:05:06 +02:00
committed by GitHub
parent d68ddc6423
commit b0cebf5ca0
2063 changed files with 1607 additions and 1768 deletions
+2 -4
View File
@@ -20,7 +20,6 @@ import extension.allServicesImpl
plugins {
id("io.element.android-compose-library")
alias(libs.plugins.ksp)
alias(libs.plugins.paparazzi)
}
@@ -58,9 +57,6 @@ dependencies {
)
}
ksp(libs.showkase.processor)
kspTest(libs.showkase.processor)
implementation(libs.showkase)
// TODO There is a Resources.NotFoundException maybe due to the mipmap, even if we have
@@ -70,4 +66,6 @@ dependencies {
allLibrariesImpl()
allServicesImpl()
allFeaturesImpl(rootDir, logger)
testImplementation("com.github.sergio-sastre.ComposablePreviewScanner:android:0.1.2")
}