Benedict

Results 9 comments of Benedict

@raafaelima I'm having the same issue and it's blocking us to introduce Shot in our codebase. Have you found any solution so far?

It's possible to use the snapshot method for composables from Paparazzi to easily wrap the ConstraintLayout view under test into a column so the height is not the device height...

I think this feature is hard to do right. E.g., We are not running all tests when we write new screenshot tests or after we change a view and need...

Can an initFlow call an flow which also has an initFlow inside?

I think https://github.com/cashapp/paparazzi/pull/497 is only fixing composables and not XML layouts and when we are using `android:layout_width="match_parent"` for the root node inside a layout we mean the device width. Just...

I checked out https://github.com/cashapp/paparazzi/pull/497/files and created this XML layout (display.xml): ``` ``` Then I created this test class: ``` class ShrinkDirectionTest { @get:Rule val paparazzi = Paparazzi( deviceConfig = DeviceConfig.NEXUS_5.copy(softButtons...

Hey, I also tried to solve this problem in my PR: https://github.com/cashapp/paparazzi/pull/550 So some input from my side: - As you said it would be better to remove `com.android.ide.common.rendering.api.SessionParams.RenderingMode` because...

@sergio-sastre I tried it inside an emulator: This is the config: ![image](https://user-images.githubusercontent.com/5817002/141134489-d0e70c15-5130-4e4e-8cf0-582dc281fbed.png)

It's now working, but margins around the view are not there: ![image](https://user-images.githubusercontent.com/5817002/208051112-f3e5635d-8034-4ab3-8e40-7e12c97defed.png)