Skip to content

Commit

Permalink
Fixed screenshot test plugin after AGP update
Browse files Browse the repository at this point in the history
  • Loading branch information
LachlanMcKee committed Sep 1, 2023
1 parent ea1b538 commit 55cc50b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class ScreenshotTestPlugin : Plugin<Project> {
target.tasks.register(TASK_RECORD, RecordScreenshotsTask::class.java) {
dependsOn(project.tasks.named("${DEVICE_NAME}Check"))
testResultsFolder.set(
project.file("build/outputs/managed_device_android_test_additional_output/$DEVICE_NAME")
project.file("build/outputs/managed_device_android_test_additional_output/debug/$DEVICE_NAME")
)
}

target.tasks.register(TASK_COMPARE, CompareScreenshotsTask::class.java) {
dependsOn(project.tasks.named("${DEVICE_NAME}Check"))
testResultsFolder.set(
project.file("build/outputs/managed_device_android_test_additional_output/$DEVICE_NAME")
project.file("build/outputs/managed_device_android_test_additional_output/debug/$DEVICE_NAME")
)
}

Expand Down

0 comments on commit 55cc50b

Please sign in to comment.