test(e2e): fix up auth + perf test platform exclusions, increase dynamic-links e2e testing #5601
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Trying very very hard to test some dynamic-link issues, and I was able to increase testing here a lot but not really pinpoint the iOS getInitialLink problems
I believe it will have to run on device to really be a good test, which requires all sorts of setup for Xcode signing etc, and doesn't work with Detox in an automated way.
I may have to handle it like the crash buttons and just setup a couple buttons in the test app so that when installed on a real device testing is still possible
Related issues
Unfortunately - neither of these fixed here - just trying to probe them, not successfully:
#2660 - iOS getInitialLink fails, while Linking.getInitialLink() will return the link for resolution !?
#2631 - on iOS getInitialLink will return same link: open app w/link (correct), background, open again (old link)
Release Summary
Conventional commits
Checklist
Android
iOS
e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
Test Plan
The whole thing is tests - however, it's possible that the android e2e test will fail first time, depending on how the deep-link is handled (maybe it opens a chooser? maybe it's possible to auto-associate the chooser to the app, or maybe the test will need to be modified)
Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on Twitter