Issue#100 Update loging

This commit is contained in:
Gergely Hegedus 2022-07-13 19:50:36 +03:00
parent d23c1b9a9d
commit 35bf967eab

View file

@ -81,8 +81,17 @@ task removeLocalScreenshots(type: Delete) {
delete files("$savePath") delete files("$savePath")
} }
task showLogcat(type: Exec) {
group = 'Test-Screenshots'
description = 'Show Logcat'
//adb logcat -d
commandLine "$adb", 'logcat', '-d'
}
afterEvaluate { afterEvaluate {
connectedDebugAndroidTest.finalizedBy pullScreenshots connectedDebugAndroidTest.finalizedBy showLogcat
showLogcat.finalizedBy pullScreenshots
pullScreenshots.finalizedBy removeScreenshotsFromDevice pullScreenshots.finalizedBy removeScreenshotsFromDevice
clean.dependsOn(removeLocalScreenshots) clean.dependsOn(removeLocalScreenshots)
} }