Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found 0 Screenshots #301

Closed
eliddell1 opened this issue Feb 17, 2022 · 0 comments
Closed

Found 0 Screenshots #301

eliddell1 opened this issue Feb 17, 2022 · 0 comments

Comments

@eliddell1
Copy link

I have just set up a single screenshot test and am getting the following out put when running:

./gradlew runDebugAndroidTestScreenshotTest

output:

> Task :app:runDebugAndroidTestScreenshotTest
[-m, android_screenshot_tests.pull_screenshots, --apk, /Users/erilidde/PostGerritWorkspace/BrickCityDesign/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk, --test-run-id, 4293ccf9-4bf1-46b4-a340-53e2b7153a6d, --temp-dir, /Users/erilidde/PostGerritWorkspace/BrickCityDesign/app/build/screenshotsDebugAndroidTest, --multiple-devices, true]
ls: /sdcard/screenshots/com.example.brickcitydesign.test/screenshots-default/metadata.json: No such file or directory
ls: /data/data/com.example.brickcitydesign.test/app_screenshots-default/metadata.json: Permission denied
ls: /sdcard/screenshots/com.example.brickcitydesign.test/screenshots-default/4293ccf9-4bf1-46b4-a340-53e2b7153a6d: No such file or directory



Found 0 screenshots
Open the following url in a browser to view the results: 
  file:///Users/erilidde/PostGerritWorkspace/BrickCityDesign/app/build/screenshotsDebugAndroidTest/index.html




Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 20s
85 actionable tasks: 13 executed, 72 up-to-date

my manifest has both read and write external storage permissions and i have tried both nor and requestLegacyExternalStorage=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant