nextcloud / nextcloud/android

screenshottest are error prone

Open
#17,143 4 comments 0 reactions 1 assignee Claimed by @tobiasKaminsky View on GitHub
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

As every pull request is failing I observed that this gradle task `genericDebugExecuteScreenshotTests` is complete missing in tasks.

Why not remove `screenShotTest.yml` complete ?

https://github.com/nextcloud/android/actions/runs/27017487150/job/79736253318?pr=17139

```
/usr/bin/sh -c ./gradlew uninstallAll genericDebugExecuteScreenshotTests -Dorg.gradle.jvmargs="--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.nio.channels=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED" -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=blue -Pandroid.testInstrumentationRunnerArguments.DARKMODE=Light
INFO | Boot completed in 18719 ms
INFO | Increasing screen off timeout, logcat buffer size to 2M.
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Configuration on demand is an incubating feature.
Calculating task graph as no cached configuration is available for tasks: uninstallAll genericDebugExecuteScreenshotTests

> Configure project :app
Gradle uses Java 21.0.11 (Eclipse Adoptium 21.0.11+10-LTS)

[Incubating] Problems report is available at: file:///home/runner/work/android/android/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Task 'genericDebugExecuteScreenshotTests' not found in root project 'Nextcloud' and its subprojects.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.