-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Refactor FXIOS-13748 [Telemetry] Migrate FxAWebViewTelemetry to use mock telemetry #30245
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
Conversation
…New Folder screen on landscape
FxAWebViewTelemetry - Add dependency injection for TelemetryWrapperProtocol in FxAWebViewTelemetry - Mock TelemetryWrapper in SyncTelemetryTests to avoid calling Glean during tests - Add 7 new test methods to verify recordTelemetry() behavior
lmarceau
left a comment
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.
Some nits, but looks good to me 😄 great work
firefox-ios/firefox-ios-tests/Tests/SyncTelemetryTests/FxALoginRegistrationTelemetryTests.swift
Show resolved
Hide resolved
Co-authored-by: lmarceau <[email protected]>
|
removed the spaces as well from @lmarceau 😃 @mattreaganmozilla |
|
@vee-kamunya |
|
I modified the Xcode project file (firefox-ios/Client.xcodeproj/project.pbxproj) to include the existing MockTelemetryWrapper.swift file in the FxA telemetry test target's build sources. It should fix it @lmarceau |
|
Hello @mattreaganmozilla, could you please review this? Thanks!! |
💪 Quality guardian1 tests files modified. You're a champion of test coverage! 🚀 🧹 Tidy commitJust 3 file(s) touched. Thanks for keeping it clean and review-friendly! ✅ Per-file coverageAll changed files meet the threshold of 35.0%. Client.app: Coverage: 37.08
Generated by 🚫 Danger Swift against 47404d0 |
|
Sorry @vee-kamunya, I should have ran the build and dropped the ball here. All is good ✅ I am merging your work, thank you very much! |
|
🚀 PR merged to |
📜 Tickets
Jira ticket
Github issue
💡 Description
📝 Checklist