I am using Showkase + Paparazzi artifact (https://github.com/airbnb/Showkase/pull/294) to set up snapshot testing in a multi-module project. I am running into an issue where a module will generate snapshot tests for @Previews from modules it depends on.
Module A
contains 5 composable previews
Module B
contains 3 composable previews
depends on Module A
When executing recordPaparazzi, Module A will execute tests for 5 previews, however, Module B executes tests for 8 previews (3 from Module B, 5 from Module A). This results in redundant snapshots being generated. This is mentioned in this comment https://github.com/airbnb/Showkase/issues/299#issuecomment-1536134814 on an existing issue as well.
Is there a workaround for this that works with showkase-screenshot-testing-paparazzi artifact?
I am using Showkase + Paparazzi artifact (https://github.com/airbnb/Showkase/pull/294) to set up snapshot testing in a multi-module project. I am running into an issue where a module will generate snapshot tests for
@Previews
from modules it depends on.Module A
Module B
When executing
recordPaparazzi
, Module A will execute tests for 5 previews, however, Module B executes tests for 8 previews (3 from Module B, 5 from Module A). This results in redundant snapshots being generated. This is mentioned in this comment https://github.com/airbnb/Showkase/issues/299#issuecomment-1536134814 on an existing issue as well.Is there a workaround for this that works with
showkase-screenshot-testing-paparazzi
artifact?