mirror of
https://github.com/openharmony/developtools_integration_verification.git
synced 2026-07-25 06:05:30 -04:00
增加用例联系人截图等待时间
Signed-off-by: weixin_44968261 <xingyuanfeng@h-partners.com>
This commit is contained in:
@@ -14,7 +14,8 @@ class Test:
|
||||
def test(self, setup_teardown, device):
|
||||
logging.info('start contacts app')
|
||||
device.start_ability(self.bundle_name, self.ability_name)
|
||||
|
||||
time.sleep(5)
|
||||
|
||||
logging.info('compare image similarity')
|
||||
standard_pic = os.path.join(device.resource_path, 'contacts.jpeg')
|
||||
contacts_page_pic = device.save_snapshot_to_local('{}_contacts.jpeg'.format(device.sn))
|
||||
|
||||
Reference in New Issue
Block a user