Closed Bug 1898221 Opened 8 months ago Closed 4 months ago

Add mobile applink startup tests

Categories

(Testing :: mozperftest, task, P2)

task

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
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.

:mstange, can you provide the scripts for this tests, and any additional information we might need?

Flags: needinfo?(mstange.moz)
Summary: Add applink startup tests → Add mobile applink startup tests
Depends on: 1898256

Same answer as bug 1898220 - I haven't written the script yet but I will share it once I have it.

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.

Flags: needinfo?(mstange.moz)
Depends on: 1911347
Assignee: nobody → aglavic
Status: NEW → ASSIGNED
See Also: → 1880491
Pushed by aglavic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/731ad2a2f52f Add mobile applink startup tests. r=perftest-reviewers,sparky
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Blocks: 1919625
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: