未验证 提交 fcec59ea 编写于 作者: O openharmony_ci 提交者: Gitee

!2029 【communication】补充buletooth JS L2测试用例

Merge pull request !2029 from 权力/myfeature1
...@@ -501,6 +501,13 @@ describe('ACTS_WifiTest', function() { ...@@ -501,6 +501,13 @@ describe('ACTS_WifiTest', function() {
sleep(5000); sleep(5000);
console.log("[wifi_test] wifi reconnect result: " + result); console.log("[wifi_test] wifi reconnect result: " + result);
expect(result).assertTrue(); expect(result).assertTrue();
console.info("[wifi_test] remove config");
var isRemoved = wifi.removeAllNetwork();
console.info("[wifi_test] check remove configs successfully,result:" + isRemoved);
expect(isRemoved).assertTrue();
var configs = wifi.getDeviceConfigs();
console.info("[wifi_test]remove config,current get Config : " + JSON.stringify(configs));
expect(true).assertEqual(configs.length == 0);
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册