Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca9409db authored by Pawan Wagh's avatar Pawan Wagh Committed by Automerger Merge Worker
Browse files

Merge "Check if device is online before starting 16kb test" into main am: 7ee0e07a

parents 4fec2b9e 7ee0e07a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -51,7 +51,12 @@ public class Enable16KbTest extends BaseHostJUnit4Test {
    @Test
    @AppModeFull
    public void enable16KbToggle() throws Exception {
        assertTrue(isPackageInstalled(APP_PACKAGE));
        // Wait for 2 mins device to be online
        getDevice().waitForDeviceOnline(120000);
        if (!isPackageInstalled(APP_PACKAGE)) {
            //If test app has failed for some reason, retry installation
            installTestApp();
        }

        // Check if developer option is enabled otherwise exit
        getDevice().enableAdbRoot();