提交 4414948c 编写于 作者: W WOSHIMAHAIFENG

修改file测试用例问题

上级 e8a3b13c
jest.setTimeout(30000); jest.setTimeout(50000);
const PAGE_PATH = '/pages/API/get-file-system-manager/get-file-system-manager' const PAGE_PATH = '/pages/API/get-file-system-manager/get-file-system-manager'
...@@ -1156,7 +1156,6 @@ describe('ExtApi-FileManagerTest', () => { ...@@ -1156,7 +1156,6 @@ describe('ExtApi-FileManagerTest', () => {
if (!isAndroid()) { if (!isAndroid()) {
return return
} }
let globalTempPath = await getData('globalTempPath') let globalTempPath = await getData('globalTempPath')
let basePath = await getData('basePath') let basePath = await getData('basePath')
await page.setData({ await page.setData({
...@@ -1263,6 +1262,7 @@ describe('ExtApi-FileManagerTest', () => { ...@@ -1263,6 +1262,7 @@ describe('ExtApi-FileManagerTest', () => {
let btnRemoveSavedFileRet = await page.$('#btn-remove-saved-file') let btnRemoveSavedFileRet = await page.$('#btn-remove-saved-file')
await btnRemoveSavedFileRet.tap() await btnRemoveSavedFileRet.tap()
await isDone()
let removeSavedFileRet = await getData("removeSavedFileRet") let removeSavedFileRet = await getData("removeSavedFileRet")
expect(removeSavedFileRet).toEqual('removeSavedFile:ok') expect(removeSavedFileRet).toEqual('removeSavedFile:ok')
await clearDir('') await clearDir('')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册