constplatformInfo=process.env.uniTestPlatformInfo.toLocaleLowerCase()constisAndroid=platformInfo.startsWith('android')describe('API-saveImageToPhotosAlbum',()=>{if(!isAndroid){it('pass',async()=>{expect(1).toBe(1);});return;}letpage;beforeAll(async()=>{page=awaitprogram.reLaunch('/pages/API/save-image-to-photos-album/save-image-to-photos-album');awaitpage.waitFor(500);});it('test saveImageToPhotosAlbum',async()=>{awaitprogram.adbCommand('pm grant io.dcloud.uniappx android.permission.WRITE_EXTERNAL_STORAGE');awaitpage.waitFor(500);awaitpage.callMethod('saveImage');expect(awaitpage.data('success')).toBe(true);});