mirror of
https://github.com/openharmony/developtools_integration_verification.git
synced 2026-07-25 06:05:30 -04:00
!934 merge refs/merge-requests/934/head into master
【轻量级 PR】增加用例联系人截图等待时间 Created-by: weixin_44968261 Commit-by: weixin_44968261 Merged-by: openharmony_ci Description: 增加用例联系人截图等待时间 https://gitcode.com/openharmony/developtools_integration_verification/issues/534 See merge request: openharmony/developtools_integration_verification!934
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