提交 45ef04d0 编写于 作者: W WOSHIMAHAIFENG

修改file测试用例

上级 f3e1666e
......@@ -1184,8 +1184,9 @@ describe('ExtApi-FileManagerTest', () => {
let btnSavedFileList = await page.$('#btn-getsaved-filelist')
await btnSavedFileList.tap()
await isDone()
let fileListSuccess = await getData("getSavedFileListRet")
expect(fileListSuccess).toEqual('getSavedFileList:ok')
let getSavedFileListRet = await getData("getSavedFileListRet")
console.log('getSavedFileListTest->' + getSavedFileListRet)
expect(getSavedFileListRet.length > 0).toBe(true)
});
it('removeSavedFileTest',
......
......@@ -835,6 +835,7 @@
}
console.log('getSavedFileListTest fail', res)
this.lastFailError = res
this.getSavedFileListRet = JSON.stringify(res)
},
complete: (res : any) => {
console.log("complete", res)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册