-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use new webView data source in prod #680
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @nelsitoPuglisi and the rest of your teammates on |
279109f
to
b75643e
Compare
bb2ef39
to
2fbf60d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good barring one inline comment. I'd also like to confirm that this has been tested E2E before this gets merged.
It would be good to write an integration test too that checks the feature.
...d-sdk/src/main/java/io/embrace/android/embracesdk/capture/crumbs/EmbraceBreadcrumbService.kt
Outdated
Show resolved
Hide resolved
Yes, I tested it manually and checked the json received in the backend, and the dashboard displays it properly. Besides that, this integration test covers the funcionality https://github.com/embrace-io/embrace-android-sdk/pull/680/files#diff-49417e80327f621fcf052fcad356035ea38339cb3faba2de6bc3242ae5c81e25R120 |
420deeb
to
4c0c0be
Compare
4c0c0be
to
be4eb50
Compare
) | ||
) { | ||
fun logWebView(url: String) { | ||
Embrace.getImpl().logWebView(url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to add this here? Shouldn't the integration test be testing the API by going through Embrace.java in the test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no public api to track web view URL, it's captured through the swazzler hook.
32c8d54
to
621086a
Compare
be4eb50
to
5edc7f6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #680 +/- ##
==========================================
- Coverage 79.82% 79.77% -0.05%
==========================================
Files 429 429
Lines 11328 11330 +2
Branches 1719 1720 +1
==========================================
- Hits 9043 9039 -4
- Misses 1554 1563 +9
+ Partials 731 728 -3
|
5edc7f6
to
f4b7b57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
f4b7b57
to
e384707
Compare
Goal
Track web view urls as span events of the session span instead of breadcrumbs.
Testing
Unit test, Integration test and manual test.