Skip to content

Commit 155373e

Browse files
authored
Merge pull request AirtestProject#510 from AirtestProject/dev
1.0.85
2 parents 5c1148f + b328913 commit 155373e

4 files changed

Lines changed: 3 additions & 8 deletions

File tree

-2.25 MB
Binary file not shown.

poco/drivers/android/uiautomation.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,6 @@ def __init__(self, device=None, using_proxy=True, force_restart=False, use_airte
181181
p1 = 10081
182182

183183
# start
184-
if self._is_running('com.github.uiautomator'):
185-
warnings.warn('{} should not run together with "uiautomator". "uiautomator" will be killed.'
186-
.format(self.__class__.__name__))
187-
self.adb_client.shell(['am', 'force-stop', 'com.github.uiautomator'])
188-
189184
ready = self._start_instrument(p0, force_restart=force_restart)
190185
if not ready:
191186
# 之前启动失败就卸载重装,现在改为尝试kill进程或卸载uiautomator
@@ -250,7 +245,7 @@ def _start_instrument(self, port_to_ping, force_restart=False):
250245
self._instrument_proc = None
251246

252247
ready = False
253-
self.adb_client.shell(['am', 'force-stop', PocoServicePackage])
248+
# self.adb_client.shell(['am', 'force-stop', PocoServicePackage])
254249

255250
# 启动instrument之前,先把主类activity启动起来,不然instrumentation可能失败
256251
self.adb_client.shell('am start -n {}/.TestActivity'.format(PocoServicePackage))

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
six
22
requests
33
airtest
4-
hrpc>=1.0.5
4+
hrpc>=1.0.9
55
websocket-client==0.48.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def parse_requirements(filename='requirements.txt'):
1010

1111
setup(
1212
name='pocoui',
13-
version='1.0.84',
13+
version='1.0.85',
1414
keywords="poco, automation test, ui automation",
1515
description='Poco cross-engine UI automated test framework.',
1616
long_description='Poco cross-engine UI automated test framework. 2018 present by NetEase Games',

0 commit comments

Comments
 (0)