From 5d2d7054eeb40c39a26c87cf66724e39b72ace22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Fri, 9 May 2025 03:07:01 +0000 Subject: [PATCH] update cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py. 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, 4 insertions(+), 4 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 4bc77fc..8e2b89d 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py @@ -25,17 +25,17 @@ class Test: device.click(430, 980) time.sleep(2) device.save_snapshot_to_local('{}_camera_step3.jpeg'.format(device.sn)) - device.wakeup() - device.unlock() - time.sleep(2) logging.info('click shot button') device.click(360, 1095) time.sleep(5) device.save_snapshot_to_local('{}_camera_step4.jpeg'.format(device.sn)) - + device.unlock() + time.sleep(2) logging.info('stop recoding') device.hdc_shell(f'uitest uiInput click 320 1095') time.sleep(3) + device.unlock() + time.sleep(2) 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