From 55a6c5b6af2e36d378db9090d9613ad14563dad1 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 02:53:51 +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: 贾孟元 --- .../basic/screenshot32/new_script/testcases/test_camera.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 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..90dd0e4 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py @@ -25,9 +25,6 @@ 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) @@ -35,7 +32,11 @@ class Test: logging.info('stop recoding') device.hdc_shell(f'uitest uiInput click 320 1095') + time.sleep(2) + device.wakeup() 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