Confirmed users
132
edits
Bebef 1987 (talk | contribs) |
|||
Line 111: | Line 111: | ||
Wait for that to finish. The geckoview example app will remain open on the device. | Wait for that to finish. The geckoview example app will remain open on the device. | ||
3. | 3. Clear geckoview_example app data and cache: adb shell pm clear org.mozilla.geckoview_example | ||
4. In your terminal, change into the obj../testing/raptor folder, that is where mitmdump is located, i.e.: | 4. In your terminal, change into the obj../testing/raptor folder, that is where mitmdump is located, i.e.: | ||
Line 140: | Line 140: | ||
measure = fnbpaint, fcp, dcf, ttfi, loadtime | measure = fnbpaint, fcp, dcf, ttfi, loadtime | ||
2 | 2. In your terminal change back into the root of your repo i.e. \mozilla-central\ and run the modified tp6m-1 on geckoview with the command: | ||
mozilla-central$ ./mach raptor-test --test raptor-tp6-new-mobile-recording-geckoview --app=geckoview --binary="org.mozilla.geckoview_example" | mozilla-central$ ./mach raptor-test --test raptor-tp6-new-mobile-recording-geckoview --app=geckoview --binary="org.mozilla.geckoview_example" | ||
Watch the test run on the android device and verify that the test page is loaded correctly in the geckoview example app. Wait for Raptor to finish and report the results - verify that all of the measurements were successfully retrieved. | Watch the test run on the android device and verify that the test page is loaded correctly in the geckoview example app. Wait for Raptor to finish and report the results - verify that all of the measurements were successfully retrieved. | ||