Skip to content

Commit

Permalink
Revert some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom committed Oct 31, 2024
1 parent 8d8082e commit d4ff5c6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compare-verify-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
./gradlew sample-android:compareRoborazziDebug --stacktrace
# Check if there are difference with sample-android/build/outputs/roborazzi/test_compare.png
find sample-android/build/outputs/roborazzi
file_path="sample-android/build/outputs/roborazzi/com.github.takahirom.roborazzi.sample.ManualTest.captureScreenLevelImageWithEspresso_compare.webp"
file_path="sample-android/build/outputs/roborazzi/com.github.takahirom.roborazzi.sample.ManualTest.captureScreenLevelImageWithEspresso_compare.png"
if [ ! -f "$file_path" ]; then
echo "Error: File $file_path not found."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ org.jetbrains.compose.experimental.uikit.enabled=true

kotlin.incremental.native=true

roborazzi.image.extension=webp
# To debug
roborazzi.test.record=true
#roborazzi.test.verify=true
#roborazzi.test.compare=true
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,7 @@ data class RoborazziOptions(
)

companion object {
val DefaultImageComparator = SimpleImageComparator(
maxDistance = 0.1F,
hShift = 4,
vShift = 4,
)
val DefaultImageComparator = SimpleImageComparator(maxDistance = 0.007F)
val DefaultResultValidator = ThresholdValidator(0F)
}
}
Expand Down
1 change: 0 additions & 1 deletion sample-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ dependencies {
testImplementation libs.androidx.compose.ui.test.junit4
debugImplementation libs.androidx.compose.ui.test.manifest
implementation libs.androidx.activity.compose
testImplementation("io.github.darkxanter:webp-imageio:0.3.0")

implementation libs.androidx.core.ktx
implementation libs.androidx.appcompat
Expand Down

0 comments on commit d4ff5c6

Please sign in to comment.