Skip to main content

Questions tagged [screenshot-testing]

The tag has no usage guidance.

screenshot-testing
0 votes
1 answer
39 views

Android Compose Screenshot testing failing on pipeline with no visible differences

I'm trying out the new Compose Screenshot Testing https://developer.android.com/studio/preview/compose-screenshot-testing. When I create reference images locally, then run the tests to validate the UI ...
SmallGrammer's user avatar
  • 1,233
4 votes
2 answers
660 views

Capture the full composable height in screenshot test

I have this class which we use as a base class for our screenshot tests abstract class ScreenshotTest { @get:Rule val rule = createComposeRule() protected fun snapshotComposable( ...
Billda's user avatar
  • 5,887
1 vote
1 answer
1k views

Using Jetpack Compose (Desktop), how can I render to an image without a window?

My use case that I'm attempting to create is a way to render a Compose application directly to a file, ideally without requiring an actual GUI window, e.g. for rendering the app on a server that does ...
Boni2k's user avatar
  • 3,295
3 votes
1 answer
671 views

Android Compose Test Slider Functionality

var sliderValue by remember { mutableStateOf(value = 0f) } Slider( value = sliderValue, valueRange = 0f..100f, onValueChange = { sliderValue = it }, ) I have ...
Swapnil Musale's user avatar
2 votes
1 answer
536 views

How can I run android-testify tests with Dagger Hilt?

I am attempting to integrate https://github.com/Shopify/android-testify to add screenshot testing to my app. I am having trouble, however, with getting the simplest of tests to run due to my app's ...
Nickthegoatboy's user avatar
1 vote
1 answer
166 views

How can I capture Google Maps with android-testify

I am trying to leverage https://github.com/Shopify/android-testify to implement some screenshot tests. However, it is having trouble capturing the map. I have tried with and without ...
isuPatches's user avatar
  • 7,154