fix(magnification): fix testA11yNodeInfoVisibility_whenOutOfMagnifiedArea_shouldVisible
In testA11yNodeInfoVisibility_whenOutOfMagnifiedArea_shouldVisible, if only waiting until boundsAfterMagnify does not equal to boundsBeforeMagnify, the layout may still be animating so the new bounds may still in display screen. Therefore, we change to wait until the bounds after layout is outside the display screen.
We also add reset magnification step in tearDown to ensure the magnification is deactivated after each tese case.
Bug: 331981353
Flag: NONE
Test: atest AccessibilityMagnificationTest
Change-Id: I85d0a026b5b51fd597d588fc3bb0467bcd4dd427
1 file changed