From f259db06bfd98ee7b96ff4c847df28bf353092fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Thu, 1 Aug 2024 02:17:08 +0000 Subject: [PATCH] =?UTF-8?q?update=20cases/smoke/basic/screenshot32/new=5Fs?= =?UTF-8?q?cript/testcases/test=5Fcamera.py.=20=E7=85=A7=E7=9B=B8=E6=9C=BA?= =?UTF-8?q?=E5=BD=95=E5=83=8F=E5=81=9C=E6=AD=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- .../screenshot32/new_script/testcases/test_camera.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py b/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py index 416dcd03..3b03df7b 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py @@ -32,12 +32,8 @@ class Test: device.save_snapshot_to_local('{}_camera_step4.jpeg'.format(device.sn)) logging.info('stop recoding') - device.click(320, 1095) - time.sleep(2) - device.click(320, 1095) - time.sleep(2) - device.click(320, 1095) - time.sleep(4) + device.hdc_shell(f'uitest uiInput click 320 1095') + time.sleep(3) device.save_snapshot_to_local('{}_camera_step5.jpeg'.format(device.sn)) logging.info('click left behind button in order to switch to gallery app')