From 77c18a12748e87158956186aab50001dc6a48ab4 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Mon, 12 Aug 2024 19:53:28 +0800 Subject: [PATCH] =?UTF-8?q?storage=20=E7=A7=BB=E9=99=A4key=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E7=9B=B8=E5=85=B3=E6=B5=8B=E8=AF=95=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/storage/storage.test.js | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/pages/API/storage/storage.test.js b/pages/API/storage/storage.test.js index a8a6d771..fb870c04 100644 --- a/pages/API/storage/storage.test.js +++ b/pages/API/storage/storage.test.js @@ -49,10 +49,10 @@ describe('ExtApi-StorageInfoTest', () => { // 测试 clear let btnGetStorageInfoASyncButton = await page.$('.btn-getStorageInfoASync') - await btnGetStorageInfoASyncButton.tap() - await page.waitFor(600) - storageInfoRet = await getData('apiGetData') - expect(storageInfoRet.keys[0]).toEqual("autotest_key_mock") + // await btnGetStorageInfoASyncButton.tap() + // await page.waitFor(600) + // storageInfoRet = await getData('apiGetData') + // expect(storageInfoRet.keys[0]).toEqual("autotest_key_mock") const btnClearStorageInfoASyncButton = await page.$('.btn-clearStorageInfoASync') await btnClearStorageInfoASyncButton.tap() @@ -77,10 +77,10 @@ describe('ExtApi-StorageInfoTest', () => { // 测试 remove - await btnGetStorageInfoASyncButton.tap() - await page.waitFor(600) - storageInfoRet = await getData('apiGetData') - expect(storageInfoRet.keys[0]).toEqual("autotest_key_mock") + // await btnGetStorageInfoASyncButton.tap() + // await page.waitFor(600) + // storageInfoRet = await getData('apiGetData') + // expect(storageInfoRet.keys[0]).toEqual("autotest_key_mock") const btnRemoveStorageInfoASyncButton = await page.$('.btn-removeStorageInfoASync') await btnRemoveStorageInfoASyncButton.tap() @@ -161,10 +161,10 @@ describe('ExtApi-StorageInfoTest', () => { // 测试clear const btnGetStorageInfoSyncButton = await page.$('.btn-getStorageInfoSync') - await btnGetStorageInfoSyncButton.tap() - await page.waitFor(600) - let storageInfoRet = await getData('apiGetData') - expect(storageInfoRet.keys[0]).toEqual("autotest_key_mock") + // await btnGetStorageInfoSyncButton.tap() + // await page.waitFor(600) + // let storageInfoRet = await getData('apiGetData') + // expect(storageInfoRet.keys[0]).toEqual("autotest_key_mock") const btnClearStorageInfoSyncButton = await page.$('.btn-clearStorageInfoSync') @@ -191,10 +191,10 @@ describe('ExtApi-StorageInfoTest', () => { // 测试 remove - await btnGetStorageInfoSyncButton.tap() - await page.waitFor(600) - storageInfoRet = await getData('apiGetData') - expect(storageInfoRet.keys[0]).toEqual("autotest_key_mock") + // await btnGetStorageInfoSyncButton.tap() + // await page.waitFor(600) + // storageInfoRet = await getData('apiGetData') + // expect(storageInfoRet.keys[0]).toEqual("autotest_key_mock") const btnRemoveStorageInfoSyncButton = await page.$('.btn-removeStorageInfoSync') await btnRemoveStorageInfoSyncButton.tap() -- GitLab