提交 36727004 编写于 作者: W WOSHIMAHAIFENG

修改file自动化测试用例

上级 b72209a4
...@@ -1180,13 +1180,13 @@ describe('ExtApi-FileManagerTest', () => { ...@@ -1180,13 +1180,13 @@ describe('ExtApi-FileManagerTest', () => {
}) })
btnSaveFile = await page.$('#btn-save-file-sync') btnSaveFile = await page.$('#btn-save-file-sync')
await btnSaveFile.tap() await btnSaveFile.tap()
await isDone()
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 getSavedFileListRet = await getData("getSavedFileListRet") let getSavedFileListRet = await getData("getSavedFileListRet")
console.log('getSavedFileListTest->' + getSavedFileListRet) console.log('getSavedFileListTest->' + getSavedFileListRet)
expect(getSavedFileListRet.length > 0).toBe(true) expect(getSavedFileListRet).toEqual('getSavedFileList:ok')
}); });
it('removeSavedFileTest', it('removeSavedFileTest',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册