-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing deep linking #556
Comments
Hi Sebastian, thanks for creating this issue! Looks like a cool feature to have. Let me clarify a bit: what would the
Or maybe you have another idea on how this could work? If yes I'd be happy if you shared them:) Also, the solution has to be cross-platform solution (both Android and iOS). |
Yes, exactly it should call adb for android and for ios |
Dear testers: @jBorkowska, @fylyppo, @Kendru98, @zoskar, and our dear external user @lmlikota – please chip in :)
The simplest version could be:
So |
And what about physical iOS devices? Do you have some idea? |
If we're talking about e2e testing, I don't see a use case for that - user never provides a literal link as a deeplink. Most common cases:
|
It should be possible to run ActivityManager from Java/Kotlin code within the app. |
We would need to add this to adb shell commands in order to test dynamic links:
|
The proper way to test it for Android via
The above tries to open some app to show the content of the link. It may be some app that is already installed on a device, or it may be a browser, or it may be an Instant App. So, in general, the feature should simulate OS's action for following a link on a device under test. Is this something in scope for patrol even? @jBorkowska There is definitely a test case for e2e testing in regards to deep links. Or, I should rather refer to them as "App Links" (in Android lingo). The test case is:
Granted, the journey doesn't start within the app under test, I can see why this may be outside of scope for patrol though. But damn it would be so nice to have. There is another example "somewhat from within the app":
|
My 2 cents:
|
@bartekpacia I'd like to inquire about bringing back host functionality, so that I can run |
Hi @Sevastyan – I no longer work on Patrol, so I can't answer. But if such functionality was re-introduced, it would only work in places where you can directly run |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
Hi,
is there a way to test deep links with patrol? I've only found the open App method, but I want to specify a URL and check if my app opens and navigates to the correct page.
e.g.:
await $.native.openLink(link: 'http://www.example.com/passwordrest');
The text was updated successfully, but these errors were encountered: