diff --git a/cases/smoke/basic/screenshot32/new_script/testcases/test_settings_wifi.py b/cases/smoke/basic/screenshot32/new_script/testcases/test_settings_wifi.py index cff8d89687f0c99e8290c295d6ba2b8291716ebd..872872c3234b756788173cd038feb815dc01ca46 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_settings_wifi.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_settings_wifi.py @@ -34,5 +34,9 @@ class Test: time.sleep(5) device.save_snapshot_to_local('{}_after_click.jpeg'.format(device.sn)) after_click = device.get_wifi_status().get('active') + if before_click != after_click: + device.click(646, 210) + after_click = device.get_wifi_status().get('active') + time.sleep(3) logging.info('wlan switch changes from [{}] to [{}]'.format(before_click, after_click)) assert before_click != after_click, 'wlan switch turn on/off failed'