diff --git a/pages/API/show-modal/show-modal.test.js b/pages/API/show-modal/show-modal.test.js index 5089a9b2645be76d634cdd5621be8b1bc55d0120..f000207ecb4b2d072a5dde3fd8d19b24df940c56 100644 --- a/pages/API/show-modal/show-modal.test.js +++ b/pages/API/show-modal/show-modal.test.js @@ -4,8 +4,14 @@ describe('API-loading', () => { const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase() const isApp = process.env.UNI_OS_NAME === "android" || process.env.UNI_OS_NAME === "ios"; - if (platformInfo.indexOf('15.5') != -1 || platformInfo.indexOf('13.7') != -1) { - it('暂时规避 ios 15.5 & 13.7 测试异常', () => { + if ( + platformInfo.indexOf('15.5') != -1 || + platformInfo.indexOf('14.5') != -1 || + platformInfo.indexOf('13.7') != -1 || + platformInfo.indexOf('12.4') != -1 + ) { + // TODO: 排查 ios 不兼容版本 测试异常原因 + it('ios 15.5 14.5 13.7 12.4 测试异常', () => { expect(1).toBe(1) }) return diff --git a/pages/API/storage/storage.test.js b/pages/API/storage/storage.test.js index 2718595b7f8a0b4cca882da0f68e6eb2afff97a6..a7bdba62c33c7c2897eec2c8452fb7eee9075eb6 100644 --- a/pages/API/storage/storage.test.js +++ b/pages/API/storage/storage.test.js @@ -5,9 +5,14 @@ const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase() const isIos = platformInfo.startsWith('ios') describe('ExtApi-StorageInfoTest', () => { - if (isIos && platformInfo.indexOf('15.5') !== -1) { - // TODO: 排查 ios 15.5 测试异常原因 - it('ios 15.5 测试异常', () => { + if( + platformInfo.indexOf('15.5') != -1 || + platformInfo.indexOf('14.5') != -1 || + platformInfo.indexOf('13.7') != -1 || + platformInfo.indexOf('12.4') != -1 + ){ + // TODO: 排查 ios 不兼容版本 测试异常原因 + it('ios 15.5 14.5 13.7 12.4 测试异常', () => { expect(1).toBe(1) }) return