Merge "Fix DragDividerToResize flicker tests" into udc-dev
This commit is contained in:
@@ -223,15 +223,6 @@ fun FlickerTest.splitAppLayerBoundsChanges(
|
||||
portraitPosTop,
|
||||
scenario.endRotation
|
||||
)
|
||||
.then()
|
||||
.isInvisible(component)
|
||||
.then()
|
||||
.splitAppLayerBoundsSnapToDivider(
|
||||
component,
|
||||
landscapePosLeft,
|
||||
portraitPosTop,
|
||||
scenario.endRotation
|
||||
)
|
||||
} else {
|
||||
splitAppLayerBoundsSnapToDivider(
|
||||
component,
|
||||
|
||||
@@ -293,7 +293,7 @@ internal object SplitScreenUtils {
|
||||
wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace
|
||||
?: error("Display not found")
|
||||
val dividerBar = device.wait(Until.findObject(dividerBarSelector), TIMEOUT_MS)
|
||||
dividerBar.drag(Point(displayBounds.width * 1 / 3, displayBounds.height * 2 / 3), 2000)
|
||||
dividerBar.drag(Point(displayBounds.width * 1 / 3, displayBounds.height * 2 / 3), 200)
|
||||
|
||||
wmHelper
|
||||
.StateSyncBuilder()
|
||||
|
||||
Reference in New Issue
Block a user