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:
parent
41e3568a5a
commit
950e502ca6
2063 changed files with 1607 additions and 1768 deletions
|
|
@ -160,15 +160,15 @@ allprojects {
|
|||
// Record all the languages?
|
||||
if (project.hasProperty("allLanguagesNoEnglish")) {
|
||||
// Do not record English language
|
||||
exclude("ui/S.class")
|
||||
exclude("ui/*.class")
|
||||
} else if (project.hasProperty("allLanguages").not()) {
|
||||
// Do not record other languages
|
||||
exclude("ui/T.class")
|
||||
exclude("translations/*.class")
|
||||
}
|
||||
} else {
|
||||
// Disable screenshot tests by default
|
||||
exclude("ui/S.class")
|
||||
exclude("ui/T.class")
|
||||
exclude("ui/*.class")
|
||||
exclude("translations/*.class")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue