Add mobile applink startup tests
Categories
(Testing :: mozperftest, task, P2)
Tracking
(firefox132 fixed)
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: sparky, Assigned: aglavic)
References
Details
(Whiteboard: [fxp])
Attachments
(1 file)
This bug is for adding applink startup tests for Firefox, and Chrome browsers.
Reporter | ||
Comment 1•8 months ago
|
||
:mstange, can you provide the scripts for this tests, and any additional information we might need?
Updated•8 months ago
|
Reporter | ||
Updated•8 months ago
|
Comment 2•8 months ago
|
||
Same answer as bug 1898220 - I haven't written the script yet but I will share it once I have it.
Comment 3•6 months ago
•
|
||
This script launches Firefox with an app link view intent when called like this, and takes a screen recording of it which it then pulls from the phone:
python3 ./record_adb.py --mode applink --package org.mozilla.fenix --url https://theme-crave-demo.myshopify.com/ --output shopify-app-link.mp4
It does not do the video analysis. Andrej is planning to write that part. The goal is to be able to compute a time based on the video, from the first frame of app startup (i.e. the first frame that's different from the initial video frame showing the home screen), to the frame that shows the launched page.
For now we can hardcode the "page shown" detection for a single URL. For example, if we just use https://theme-crave-demo.myshopify.com/ as the launched URL, we can detect when the main image is shown by detecting colors in certain spots.
Assignee | ||
Comment 4•5 months ago
|
||
Updated•5 months ago
|
Comment 6•4 months ago
|
||
bugherder |
Description
•