!604 update cases/smoke/basic/screenshot32/new_script/testcases/test_launcher.py.

Merge pull request !604 from 贾孟元/N/A
This commit is contained in:
oh_ci
2025-02-13 06:23:09 +00:00
committed by Gitee
@@ -12,7 +12,7 @@ class Test:
def test(self, setup_teardown, device):
logging.info('compare image similarity')
# usb弹窗
device.click(360, 715)
device.click(360, 800)
standard_pic = os.path.join(device.resource_path, 'launcher.jpeg')
launcher_pic = device.save_snapshot_to_local('{}_launcher.jpeg'.format(device.sn))
similarity = compare_image_similarity(launcher_pic, standard_pic)