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 4bc77fc39ef97ae6b1d379478519ed67acf200ea..8e2b89d70f39460b3be5e43b6e36749bd05bbfa5 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')