Simple Html page to view all the screenshots.

Do not delete the whole screenshots folder, but just delete per language when the screenshots are generated.

Generate the data.js file regarding the existing screenshots, to be able to add languages.
Also the language will be sorted alphabetically (English still first).
And the screenshot will be sorted alphabetically.

Update the script to generate screenshot for specific language on demand.
This commit is contained in:
Benoit Marty 2024-03-01 15:01:07 +01:00 committed by Benoit Marty
parent e6f5912150
commit 537074bee3
7 changed files with 2209 additions and 11 deletions

View file

@ -155,7 +155,11 @@ allprojects {
// Increase heap size for screenshot tests
maxHeapSize = "2g"
// Record all the languages?
if (project.hasProperty("allLanguages").not()) {
if (project.hasProperty("allLanguagesNoEnglish")) {
// Do not record English language
exclude("ui/S.class")
} else if (project.hasProperty("allLanguages").not()) {
// Do not record other languages
exclude("ui/T.class")
}
} else {