Skip to content

Extend Intellij plugin to support Compose Preview Testing and Paparazzi tests#270

Draft
DanielJette wants to merge 22 commits intopaparazzi-samplefrom
intellij-paparazzi-support
Draft

Extend Intellij plugin to support Compose Preview Testing and Paparazzi tests#270
DanielJette wants to merge 22 commits intopaparazzi-samplefrom
intellij-paparazzi-support

Conversation

@DanielJette
Copy link
Contributor

@DanielJette DanielJette commented Nov 24, 2025

@DanielJette
Copy link
Contributor Author

This plugin incorrectly applies to all @Test annotated unit tests, not just those that use Paparazzi

@DanielJette
Copy link
Contributor Author

Diff and update baseline are essential features that this plugin should support:

Images differ (by 0.044662%) - see details in file:///Users/danieljette/dev/apps/android/app/build/paparazzi/failures/delta-com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png
Thumbnail for current rendering stored at file:///Users/danieljette/dev/apps/android/app/build/paparazzi/failures/com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png
Run the following command to accept the changes:
mv /Users/danieljette/dev/apps/android/app/build/paparazzi/failures/com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png /Users/danieljette/dev/apps/android/app/src/test/snapshots/images/com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png

Images differ (by 0.044662%) - see details in file:///Users/danieljette/dev/apps/android/app/build/paparazzi/failures/delta-com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png
Thumbnail for current rendering stored at file:///Users/danieljette/dev/apps/android/app/build/paparazzi/failures/com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png
Run the following command to accept the changes:
mv /Users/danieljette/dev/apps/android/app/build/paparazzi/failures/com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png /Users/danieljette/dev/apps/android/app/src/test/snapshots/images/com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png
java.lang.AssertionError: Images differ (by 0.044662%) - see details in file:///Users/danieljette/dev/apps/android/app/build/paparazzi/failures/delta-com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png
Thumbnail for current rendering stored at file:///Users/danieljette/dev/apps/android/app/build/paparazzi/failures/com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png
Run the following command to accept the changes:
mv /Users/danieljette/dev/apps/android/app/build/paparazzi/failures/com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png /Users/danieljette/dev/apps/android/app/src/test/snapshots/images/com.foo.work.ui.appointments.detail.tabs.locationInfo_LocationInfoScreenshotTest_loadedWithPreviousOpportunities.png
at app.cash.paparazzi.internal.ImageUtils.assertImageSimilar(ImageUtils.kt:124)
at app.cash.paparazzi.SnapshotVerifier$newFrameHandler$1.handle(SnapshotVerifier.kt:71)
at app.cash.paparazzi.Paparazzi$apply$1.evaluate$lambda$0(Paparazzi.kt:70)
at app.cash.paparazzi.PaparazziSdk.takeSnapshots(PaparazziSdk.kt:330)
at app.cash.paparazzi.PaparazziSdk.snapshot(PaparazziSdk.kt:177)
at app.cash.paparazzi.PaparazziSdk.snapshot$default(PaparazziSdk.kt:175)
at app.cash.paparazzi.PaparazziSdk.snapshot(PaparazziSdk.kt:172)
at app.cash.paparazzi.Paparazzi.snapshot(Paparazzi.kt:100)

@DanielJette DanielJette force-pushed the intellij-paparazzi-support branch from 34cf88f to 302c8f9 Compare March 7, 2026 16:33
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

Successfully merging this pull request may close these issues.

1 participant