Open Bug 1898227 Opened 2 years ago Updated 4 months ago

Add mobile battery usage tests for video, and browsing in CI

Categories

(Testing :: Raptor, task, P1)

task

Tracking

(Not tracked)

People

(Reporter: sparky, Assigned: sparky)

References

Details

(Whiteboard: [fxp][operational])

This bug is for adding tests for video, and browsing that measure battery usage for both Firefox, and Chrome. For these tests, charging will need to be "fake" disabled.

:mleclair, can you provide the scripts for this test, and any additional info that we might need?

Flags: needinfo?(mleclair)
Summary: Add battery usage tests for video, and browsing → Add mobile battery usage tests for video, and browsing
Summary: Add mobile battery usage tests for video, and browsing → Add mobile battery usage tests for video, and browsing in CI

(In reply to Greg Mierzwinski [:sparky] from comment #1)

:mleclair, can you provide the scripts for this test, and any additional info that we might need?

:sparky, I have the one here on github but I was under the impression that we were blocked by CI. Should we hold off on trying to add it? I guess an alternative for now is maybe we try to track the usage throughout all of our tests to "try it out" (i.e: test the discharge rate we get when running sp3 -- this is just for an example though I don't know if it would work).

Flags: needinfo?(mleclair) → needinfo?(gmierz2)

That needinfo was from before we discussed that issue, we should still hold off. Have you tested to see if we could use the cpuTime metric from glean as a proxy for this? See here: https://github.com/sitespeedio/browsertime/blob/694213b24a84db0f715f3ebcfbefd327c0ce1126/lib/firefox/webdriver/firefox.js#L249

Flags: needinfo?(gmierz2)
Priority: P2 → P1
Whiteboard: [fxp] → [fxp][operational]
Severity: S3 → S2
Assignee: nobody → gmierzwinski
You need to log in before you can comment on or make changes to this bug.