Merge "Revert "Fix replacesLayer assertion to account for splashscreen layer"" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d23967c6ea
@@ -317,8 +317,7 @@ fun FlickerTest.replacesLayer(
|
||||
assertion.then().isVisible(ComponentNameMatcher.SNAPSHOT, isOptional = true)
|
||||
}
|
||||
if (ignoreSplashscreen) {
|
||||
assertion.then().isSplashScreenVisibleFor(
|
||||
ComponentNameMatcher(newLayer.packageName, className = ""), isOptional = true)
|
||||
assertion.then().isSplashScreenVisibleFor(newLayer, isOptional = true)
|
||||
}
|
||||
|
||||
assertion.then().isVisible(newLayer)
|
||||
|
||||
Reference in New Issue
Block a user