From dbf08a0a98ac663eb37847570db7dbeb009e3642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Fri, 21 Feb 2025 07:28:20 +0000 Subject: [PATCH] =?UTF-8?q?update=20cases/smoke/basic/screenshot32/new=5Fs?= =?UTF-8?q?cript/testcases/test=5Flauncher.py.=20=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E7=AC=AC=E4=BA=8C=E6=AC=A1=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- .../screenshot32/new_script/testcases/test_launcher.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cases/smoke/basic/screenshot32/new_script/testcases/test_launcher.py b/cases/smoke/basic/screenshot32/new_script/testcases/test_launcher.py index 6d99db0..a5acf50 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_launcher.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_launcher.py @@ -30,9 +30,9 @@ class Test: if device.get_focus_window() == 'SystemDialog1': device.click(595, 555) time.sleep(10) - if device.get_focus_window() == 'SystemDialog1': - device.click(360, 800) - time.sleep(10) + #if device.get_focus_window() == 'SystemDialog1': + # device.click(360, 800) + # time.sleep(10) 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) -- Gitee