提交 fd7141b5 编写于 作者: W WOSHIMAHAIFENG

修改file测试用例

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