From 536c9ddea6d050a2c836bbe9fd0e84fb4600ed5d Mon Sep 17 00:00:00 2001 From: oh_ci Date: Tue, 8 Oct 2024 06:58:09 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!517=20:?= =?UTF-8?q?=20=E3=80=90=E8=BD=BB=E9=87=8F=E7=BA=A7=20PR=E3=80=91=EF=BC=9Au?= =?UTF-8?q?pdate=20cases/smoke/basic/screenshot32/new=5Fscript/testcases/t?= =?UTF-8?q?est=5Fphotos.py.'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basic/screenshot32/new_script/testcases/test_photos.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cases/smoke/basic/screenshot32/new_script/testcases/test_photos.py b/cases/smoke/basic/screenshot32/new_script/testcases/test_photos.py index ba165f4..467365a 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_photos.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_photos.py @@ -14,8 +14,7 @@ class Test: def test(self, setup_teardown, device): logging.info('start gallery app') device.start_ability(self.bundle_name, self.ability_name) - - time.sleep(3) + logging.info('compare image similarity') standard_pic = os.path.join(device.resource_path, 'photos.jpeg') photos_page_pic = device.save_snapshot_to_local('{}_photos.jpeg'.format(device.sn)) -- Gitee