-
-
Save othiagosouto/c0bf3e34f0517239983ab2011b9ee27a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thiagosouto@Thiagos-MacBook-Pro FacebookSnapshotSample % ./gradlew verifyDebugAndroidTestScreenshotTest | |
> Task :app:connectedDebugAndroidTest | |
Starting 1 tests on Pixel_2_API_28(AVD) - 9 | |
> Task :app:verifyDebugAndroidTestScreenshotTest FAILED | |
[-m, android_screenshot_tests.pull_screenshots, --apk, /Users/thiagosouto/reps/github/FacebookSnapshotSample/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk, --temp-dir, /Users/thiagosouto/reps/github/FacebookSnapshotSample/app/build/screenshotsDebugAndroidTest, --verify, screenshots, --multiple-devices, true] | |
/sdcard/screenshots/com.soutoss.facebooksnapshotsample.test/screenshots-default/metadata.xml: 1 file pulled, 0 skipped. 2.0 MB/s (4720 bytes in 0.002s) | |
/sdcard/screenshots/com.soutoss.facebooksnapshotsample.test/screenshots-default/screenshot_bundle.zip: 1 file pulled, 0 skipped. 57.0 MB/s (181269 bytes in 0.003s) | |
Pulled 14 files from device | |
Traceback (most recent call last): | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main | |
"__main__", fname, loader, pkg_name) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code | |
exec code in run_globals | |
File "/Users/thiagosouto/.gradle/caches/modules-2/files-2.1/com.facebook.testing.screenshot/plugin/0.12.0/a5dd5da0603f8057e82d79e5c0289da22bec0824/plugin-0.12.0.jar/android_screenshot_tests/pull_screenshots.py", line 652, in <module> | |
File "/Users/thiagosouto/.gradle/caches/modules-2/files-2.1/com.facebook.testing.screenshot/plugin/0.12.0/a5dd5da0603f8057e82d79e5c0289da22bec0824/plugin-0.12.0.jar/android_screenshot_tests/pull_screenshots.py", line 648, in main | |
File "/Users/thiagosouto/.gradle/caches/modules-2/files-2.1/com.facebook.testing.screenshot/plugin/0.12.0/a5dd5da0603f8057e82d79e5c0289da22bec0824/plugin-0.12.0.jar/android_screenshot_tests/pull_screenshots.py", line 570, in pull_screenshots | |
File "/Users/thiagosouto/.gradle/caches/modules-2/files-2.1/com.facebook.testing.screenshot/plugin/0.12.0/a5dd5da0603f8057e82d79e5c0289da22bec0824/plugin-0.12.0.jar/android_screenshot_tests/recorder.py", line 131, in verify | |
android_screenshot_tests.recorder.VerifyError: Image screenshots/API_28_GP_XXHDPI_1080x1920_x86_/com.soutoss.facebooksnapshotsample.MainActivityTest_shouldLoadListWithExpectedContent.png is not same as /var/folders/_h/6td4yg0j6mn1jxljl5hv_tt80000gn/T/tmpMnNr1t/com.soutoss.facebooksnapshotsample.MainActivityTest_shouldLoadListWithExpectedContent.png | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':app:verifyDebugAndroidTestScreenshotTest'. | |
> Process 'command 'python'' finished with non-zero exit value 1 | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. | |
* Get more help at https://help.gradle.org | |
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. | |
Use '--warning-mode all' to show the individual deprecation warnings. | |
See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment