mirror of
https://github.com/openharmony/developtools_integration_verification.git
synced 2026-08-27 21:40:55 -04:00
!604 update cases/smoke/basic/screenshot32/new_script/testcases/test_launcher.py.
Merge pull request !604 from 贾孟元/N/A
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user