mirror of
https://github.com/openharmony/developtools_integration_verification.git
synced 2026-08-27 21:40:55 -04:00
update cases/smoke/basic/screenshot32/new_script/conftest.py.
关闭第二次点击弹窗 Signed-off-by: 贾孟元 <jiamengyuan@h-partners.com>
This commit is contained in:
@@ -42,9 +42,9 @@ def setup_teardown(request, device):
|
||||
if device.get_focus_window() == 'SystemDialog1':
|
||||
device.click(595, 555)
|
||||
time.sleep(15)
|
||||
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)
|
||||
device.click(360, 1245)
|
||||
time.sleep(1)
|
||||
device.click(360, 1245)
|
||||
|
||||
Reference in New Issue
Block a user