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 872872c3..cff8d896 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,9 +34,5 @@ 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'