Bump to ui-test:1.7.0-alpha03, add parameter name

Change-Id: Ib1bbe4ad0d823c632d387587aa55c5eeb39e4b8d
pull/1230/head
Don Turner 9 months ago
parent 50d5583fe1
commit fa811ab85f

@ -141,13 +141,12 @@ class NiaAppScreenSizesScreenshotTests {
LocalInspectionMode provides true, LocalInspectionMode provides true,
) { ) {
DeviceConfigurationOverride( DeviceConfigurationOverride(
DeviceConfigurationOverride.ForcedSize(DpSize(width, height)), override = DeviceConfigurationOverride.ForcedSize(DpSize(width, height)),
) { ) {
BoxWithConstraints {
NiaTheme { NiaTheme {
NiaApp( NiaApp(
windowSizeClass = WindowSizeClass.calculateFromSize( windowSizeClass = WindowSizeClass.calculateFromSize(
DpSize(maxWidth, maxHeight), DpSize(width, height),
), ),
networkMonitor = networkMonitor, networkMonitor = networkMonitor,
userNewsResourceRepository = userNewsResourceRepository, userNewsResourceRepository = userNewsResourceRepository,
@ -156,7 +155,6 @@ class NiaAppScreenSizesScreenshotTests {
} }
} }
} }
}
composeTestRule.onRoot() composeTestRule.onRoot()
.captureRoboImage( .captureRoboImage(

Loading…
Cancel
Save