Improve test isolation in AbstractLauncherUiTests

- Removing suspicious duplicate uses of AbstractLauncherUiTest.initialize to prevent unnecesary launcher restarts
- Adding UiDevice#pressHome to AbstractLauncherUiTests.verifyLauncherState to ensure the next test starts with a known clean state

Flag: EXEMPT test fix
Fixes: 372956489
Test: AbstractLauncherUiTest
Change-Id: Id68ece4ab195a4f6c47aa401eb50a91b8ff70e10
This commit is contained in:
Schneider Victor-Tulias committed 2024-10-16 13:18:36 -04:00
1 parent 247bc0461a
commit 07669e9575
4 files changed
+1 -10

No files matched your search

@@ -56,8 +56,6 @@ public class TaplPrivateSpaceTest extends AbstractQuickStepTest {
@Override
public void setUp() throws Exception {
super.setUp();
initialize(this);
createAndStartPrivateProfileUser();
mDevice.pressHome();