提交 13615a9b 编写于 作者: Q q00313334

quanli1@huawei.com

Signed-off-by: Nq00313334 <quanli1@huawei.com>
上级 771956f9
......@@ -85,6 +85,7 @@ describe('ACTS_WifiTest', function () {
console.info("[wifi_js]getCurrentGroup promise then error." + JSON.stringify(error));
expect().assertFail();
});
done();
})
......@@ -93,7 +94,7 @@ describe('ACTS_WifiTest', function () {
* @tc.name SUB_Communication_WiFi_P2P_Config_0002
* @tc.desc Test getCurrentGroup callback infos
*/
it('SUB_Communication_WiFi_P2P_Config_0001', 0, async function(done) {
it('SUB_Communication_WiFi_P2P_Config_0002', 0, async function(done) {
await tryToEnableWifi();
var WifiP2PConfig = {
deviceAddress : "00:00:00:00:00:00",
......
......@@ -806,11 +806,8 @@ describe('ACTS_WifiTest', function() {
+ result.frequency +"snr:" + result.snr+
"macAddress: " + result.macAddress + "ipAddress: " + result.ipAddress +
"suppState: " + result.suppState + "connState: " + result.connState);
expect(true).assertEqual(result.connState==ConnState.CONNECTING);
expect(false).assertEqual(result.suppState==suppState.DISCONNECTED);
done();
});
await sleep(2000);
});
})
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册