Skip to content

Conversation

@PhilLab
Copy link
Contributor

@PhilLab PhilLab commented Jan 2, 2026

  • Tests written, or not not needed

The existing documentation sent you on the wrong track, as the 'shot' dependency is excluded from the normal build, so it requires appropriate preconditions to be executed. Otherwise, the gradle task genericDebugExecuteScreenshotTests will not even be available.

  • Removed left-over usages of gplay flavor for screenshot tests
  • Added documentation for local execution of screenshot tests
  • androidScreenshotTest now sets up the uiComparison AVD, if not present

Flavor was changed in nextcloud#15062, bf46332, from gplay to generic, but not
all instances were adjusted.

Signed-off-by: Philipp Hasper <vcs@hasper.info>
@PhilLab PhilLab force-pushed the ph/screenshot_tests_tooling branch from aa9c104 to e1cff4e Compare January 3, 2026 17:41
Since 002f61a, the 'shot' dependency is excluded from the normal build, so
it requires appropriate preconditions to be executed. Otherwise, the
gradle task `genericDebugExecuteScreenshotTests` will not even be
available. You can either ensure the appropriate setup manually, or better
use the utility scripts.
To facilitate the latter, some documentation was added as well.

Signed-off-by: Philipp Hasper <vcs@hasper.info>
The AVD setup was only done automatically when executing
updateScreenshots.sh. The lines were copied from there, but long-term, the
exact AVD configuration as well as emulator parameters should rather be
stored somewhere shared.

Signed-off-by: Philipp Hasper <vcs@hasper.info>
@PhilLab PhilLab added 3. to review documentation Things to be documented or turned into documentation labels Jan 3, 2026
@PhilLab PhilLab marked this pull request as ready for review January 3, 2026 17:42
@PhilLab PhilLab requested a review from tobiasKaminsky January 3, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review documentation Things to be documented or turned into documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant