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 f8d267f3..3067e388 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 @@ -32,8 +32,8 @@ class Test: logging.info('turn on/off wlan swith') device.click(646, 210) #device.hdc_shell(f'uitest uiInput click 646 210') - time.sleep(12) + time.sleep(15) device.save_snapshot_to_local('{}_after_click.jpeg'.format(device.sn)) after_click = device.get_wifi_status().get('active') logging.info('wlan switch changes from [{}] to [{}]'.format(before_click, after_click)) - #assert before_click != after_click, 'wlan switch turn on/off failed' + assert before_click != after_click, 'wlan switch turn on/off failed'