Fix QuickSwitchBetweenTwoAppsBackTest faluire on tablet devices

Use CL[1]'s new added quick-switch methods in TAPL to ignore taskbar
visibility verification for preventing false-alarm failure when
switching to the IME test activity on the tablet test.

[1]: Id0a35561523d733b8434acb702ec7dcaa466a1c2

Fix: 240306344
Test: atest FlickerTests:QuickSwitchBetweenTwoAppsBackTest
in tablet devices

Change-Id: I6bad6f808e31473ebb5e080ec88c90ac4a8395bb
This commit is contained in:
Ming-Shin Lu
2022-10-05 19:38:37 +08:00
parent 38be8a6db7
commit 3b53ce0df3

View File

@@ -68,6 +68,7 @@ open class QuickSwitchBetweenTwoAppsBackTest(testSpec: FlickerTestParameter) : B
override val transition: FlickerBuilder.() -> Unit = {
setup {
tapl.setExpectedRotation(testSpec.startRotation)
tapl.setIgnoreTaskbarVisibility(true)
testApp1.launchViaIntent(wmHelper)
testApp2.launchViaIntent(wmHelper)
startDisplayBounds =