diff --git a/pages/API/storage/storage.test.js b/pages/API/storage/storage.test.js index a8a6d7717511cafa8ee3133e5448d206cd656ebe..fb870c04e1865e201d39c3552d3262d5e1d9b1af 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()