diff --git a/pages/API/download-file/download-file.test.js b/pages/API/download-file/download-file.test.js index 9b41ee42097f2cf6240fd095bc47f1dafe551f33..3f15f2753ffee7cbd3ed17fc50a8ce2d80e78690 100644 --- a/pages/API/download-file/download-file.test.js +++ b/pages/API/download-file/download-file.test.js @@ -8,7 +8,7 @@ describe('ExtApi-DownloadFile', () => { page = await program.reLaunch(PAGE_PATH) await page.waitFor(600); await page.callMethod('jest_downloadFile'); - await page.waitFor(500); + await page.waitFor(1000); res = await page.data('jest_result'); }); diff --git a/pages/API/request/request.test.js b/pages/API/request/request.test.js index 58555dcb047e4b3aa77e7aec666793b2cf3dc543..db18e65c23d44f8fc3a6d8af060bc4437e716f53 100644 --- a/pages/API/request/request.test.js +++ b/pages/API/request/request.test.js @@ -22,7 +22,7 @@ async function request(page, method, header, data, url) { header: header }) res = await page.callMethod('jest_request') - await page.waitFor(200); + await page.waitFor(500); res = await page.data('jest_result'); expect(res).toBe(true) } diff --git a/pages/API/upload-file/upload-file.test.js b/pages/API/upload-file/upload-file.test.js index b02e2bc12f1307e983d2717960a0a4354dcdc043..56f73f062bc53dcfa0fd42aafc95a8ffe7c4019a 100644 --- a/pages/API/upload-file/upload-file.test.js +++ b/pages/API/upload-file/upload-file.test.js @@ -8,7 +8,7 @@ describe('ExtApi-UploadFile', () => { page = await program.reLaunch(PAGE_PATH) await page.waitFor(600); await page.callMethod('jest_uploadFile'); - await page.waitFor(500); + await page.waitFor(1000); res = await page.data('jest_result'); }); diff --git a/pages/API/websocket-socketTask/websocket-socketTask.test.js b/pages/API/websocket-socketTask/websocket-socketTask.test.js index 6a3bc3d3b279d2f7a94022abb395813b5255b207..081ff8bc19d7199af906befafdaed13647ce0a35 100644 --- a/pages/API/websocket-socketTask/websocket-socketTask.test.js +++ b/pages/API/websocket-socketTask/websocket-socketTask.test.js @@ -8,7 +8,7 @@ describe('ExtApi-WebSocket', () => { page = await program.reLaunch(PAGE_PATH) await page.waitFor(600); await page.callMethod('jest_connectSocket'); - await page.waitFor(500); + await page.waitFor(1500); res = await page.data('jest_result'); });