diff --git a/cases/smoke/basic/screenshot32/new_script/testcases/test_hap.py b/cases/smoke/basic/screenshot32/new_script/testcases/test_hap.py index 2ea4be2f14406c2d589b68075c0003884866e1ad..5d47f2f446be1888c49feb43d67e259dff5c3a58 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_hap.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_hap.py @@ -28,7 +28,7 @@ class Test: time.sleep(1) logging.info('start app') device.start_ability(self.bundle_name, self.ability_name) - time.sleep(2) + time.sleep(5) main_page = device.save_snapshot_to_local('{}_hap.jpeg'.format(device.sn)) crop_picture(picture=main_page, x1=0, y1=72, x2=160, y2=162) stand_pic = os.path.join(device.resource_path, 'hap.jpeg')