-
Notifications
You must be signed in to change notification settings - Fork 625
[Fragment Performance] e2e test app fragments #3210
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
Coverage ReportAffected SDKsNo changes between base commit (1db6cdf) and head commit (0b95ee1f). Test Logs
NotesHTML coverage reports can be produced locally with Head commit (0b95ee1f) is created by Prow via merging commits: 1db6cdf 4d0b0b8. |
Binary Size ReportAffected SDKsNo changes between base commit (1db6cdf) and head commit (0b95ee1f). Test Logs
NotesHead commit (0b95ee1f) is created by Prow via merging commits: 1db6cdf 4d0b0b8. |
/test api-information |
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.
Great work!
...t/java/com/google/firebase/testing/fireperf/FirebasePerformanceFragmentScreenTracesTest.java
Show resolved
Hide resolved
@@ -41,6 +48,16 @@ | |||
/* initialTouchMode= */ false, | |||
/* launchActivity= */ true); | |||
|
|||
@After | |||
public void pressHome_toTriggerSendScreenTrace() { |
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.
Are we triggering an event sent for every app backgrounding? I thought we were dispatching events scheduled every 30 seconds managed by Firelog service. @jeremyjiang-dev
b/208271664
The tests are run on Firebase Test Lab automatically. There are no validation however for screen traces.
Result
The instrumentation test will automatically scroll through the the laggy
RecyclerView
on a fragment, then move to the next fragment.There was also a change to the old activity screen trace test, to try to make the instrumentation test produce screen trace which didn't do it consistently before.
How to Test
Run instrumentation tests:
./gradlew :firebase-perf:e2e-app:connectedCheck -PfireperfBuildForAutopush