test: use setPermissions before launching the app#6975
Conversation
WalkthroughThe Maestro test helper now uses the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. No actionable comments were generated in the recent review. 🎉 📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (3)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
OtavioStasiak
left a comment
There was a problem hiding this comment.
LGTM!
just improve the PR title before merge.
in this case we can use chore preffix.
Proposed changes
This PR add support for setPermission which can be used to set app permissions at any time.
Currently, we allow permissions manually after opening the app using a deeplink. With the new
setPermission, we can grant all permissions before starting the app. This removes the permission dialogs and reduces test execution time.Action Link: https://github.com/RocketChat/Rocket.Chat.ReactNative/actions/runs/21894217357
Issue(s)
https://rocketchat.atlassian.net/browse/CORE-1831
How to test or reproduce
Screenshots
Types of changes
Checklist
Further comments
Summary by CodeRabbit