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
@tobiasKaminsky tobiasKaminsky merged commit 09e7d10 into nextcloud:master Jan 12, 2026
18 of 22 checks passed
@tobiasKaminsky
Copy link
Member

Thank you 🎉

@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.36.0 milestone Jan 12, 2026
@PhilLab PhilLab deleted the ph/screenshot_tests_tooling branch January 15, 2026 07:28
@github-actions
Copy link

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

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 feedback-requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants