Created
September 6, 2017 19:20
-
-
Save PillowUnicorn/45a9a24e347888e051964c2b456e89f9 to your computer and use it in GitHub Desktop.
Detox - Setting iOS Permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Pillow Pro - Permissions', () => { | |
it('Push Notifications permission is granted', async () => { | |
await device.launchApp({ permissions: { notifications: 'YES' } }); | |
}); | |
it('Location permission is granted', async () => { | |
await device.launchApp({ permissions: { location: 'inuse' } }); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment