提交 e8a3b13c 编写于 作者: W WOSHIMAHAIFENG

去掉日志

上级 c6acaa7f
...@@ -1157,7 +1157,6 @@ describe('ExtApi-FileManagerTest', () => { ...@@ -1157,7 +1157,6 @@ describe('ExtApi-FileManagerTest', () => {
return return
} }
console.log('start saveFileSyncTest')
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({
...@@ -1165,7 +1164,6 @@ describe('ExtApi-FileManagerTest', () => { ...@@ -1165,7 +1164,6 @@ describe('ExtApi-FileManagerTest', () => {
basePath: basePath basePath: basePath
}) })
await clearDir('') await clearDir('')
console.log('end saveFileSyncTest1')
await page.setData({ await page.setData({
logAble: false, logAble: false,
basePath: globalTempPath, basePath: globalTempPath,
...@@ -1175,18 +1173,15 @@ describe('ExtApi-FileManagerTest', () => { ...@@ -1175,18 +1173,15 @@ describe('ExtApi-FileManagerTest', () => {
accessFile: '2.txt' accessFile: '2.txt'
}) })
await createFile() await createFile()
console.log('end saveFileSyncTest2')
await page.setData({ await page.setData({
basePath: basePath, basePath: basePath,
writeFile: 'save/2.txt', writeFile: 'save/2.txt',
}) })
btnSaveFile = await page.$('#btn-save-file-sync') btnSaveFile = await page.$('#btn-save-file-sync')
await btnSaveFile.tap() await btnSaveFile.tap()
console.log('end saveFileSyncTest3')
let btnRemoveSavedFileRet = await page.$('#btn-remove-saved-file') let btnRemoveSavedFileRet = await page.$('#btn-remove-saved-file')
await btnRemoveSavedFileRet.tap() await btnRemoveSavedFileRet.tap()
await isDone() await isDone()
console.log('end saveFileSyncTest4')
let removeSavedFileRet = await getData("removeSavedFileRet") let removeSavedFileRet = await getData("removeSavedFileRet")
expect(removeSavedFileRet).toEqual('removeSavedFile:ok') expect(removeSavedFileRet).toEqual('removeSavedFile:ok')
...@@ -1194,7 +1189,6 @@ describe('ExtApi-FileManagerTest', () => { ...@@ -1194,7 +1189,6 @@ describe('ExtApi-FileManagerTest', () => {
removeSavedFileRet: '' removeSavedFileRet: ''
}) })
await clearDir('') await clearDir('')
console.log('end saveFileSyncTest')
}); });
it('getSavedFileListTest', it('getSavedFileListTest',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册