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..90dd0e491f3b167157976196373ad71aba5bf9c4 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')