test(e2e): eliminate create_emulator_facade monkeypatching and replace with make_real_device_with_xml where applicable
This commit is contained in:
@@ -653,6 +653,7 @@ class E2EDeviceStub:
|
||||
self.pressed_keys = []
|
||||
self.clicks = []
|
||||
self.swipes = []
|
||||
self.app_starts = []
|
||||
self.app_id = "com.instagram.android"
|
||||
self._info = {
|
||||
"screenOn": True,
|
||||
@@ -748,7 +749,7 @@ class E2EDeviceStub:
|
||||
self.swipes.append({"start": (sx, sy), "end": (ex, ey)})
|
||||
|
||||
def app_start(self, pkg, use_monkey=False):
|
||||
pass
|
||||
self.app_starts.append(pkg)
|
||||
|
||||
def app_stop(self, pkg):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user