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

Commit e39f9ad3 authored by Sergey Pinkevich's avatar Sergey Pinkevich Committed by Android (Google) Code Review
Browse files

Merge "[E2E test] Close Chrome popups during instrumentation run" into main

parents 31649fd2 0a545eac
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ abstract class TabTearingDragAndDrop(val rotation: Rotation = Rotation.ROTATION_
        }
        ChangeDisplayOrientationRule.setRotation(rotation)
        browserDesktopAppHelper.enterDesktopMode(wmHelper, device)
        browserAppHelper.closePopupsIfNeeded(device)
    }

    @Test
@@ -79,6 +80,9 @@ abstract class TabTearingDragAndDrop(val rotation: Rotation = Rotation.ROTATION_

    @After
    fun teardown() {
        // Tab tearing creates a new window. We want to make sure to clear storage (and remove all
        // opened windows) to prevent hitting the Chrome window limit.
        browserAppHelper.clearStorage()
        browserDesktopAppHelper.exit(wmHelper)
    }
}
 No newline at end of file