From 22d9eef4b1bd59a26f02246a1374e944fd46d3b5 Mon Sep 17 00:00:00 2001 From: oh_ci Date: Mon, 20 Jan 2025 03:54:46 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!477=20:?= =?UTF-8?q?=20=E7=85=A7=E7=9B=B8=E6=9C=BA=E5=BD=95=E5=83=8F=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E8=B0=83=E6=95=B4'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../screenshot32/new_script/testcases/test_camera.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 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 3b03df7..416dcd0 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py @@ -32,8 +32,12 @@ class Test: device.save_snapshot_to_local('{}_camera_step4.jpeg'.format(device.sn)) logging.info('stop recoding') - device.hdc_shell(f'uitest uiInput click 320 1095') - time.sleep(3) + device.click(320, 1095) + time.sleep(2) + device.click(320, 1095) + time.sleep(2) + device.click(320, 1095) + time.sleep(4) device.save_snapshot_to_local('{}_camera_step5.jpeg'.format(device.sn)) logging.info('click left behind button in order to switch to gallery app') -- Gitee