97
edits
(Update power-usage section with information on units, and proportional power usage.) |
|||
| Line 720: | Line 720: | ||
=== Scenario Tests === | === Scenario Tests === | ||
This test type runs browser tests that use idle pages for a specified amount of time to gather resource usage information such as power usage. The pages used for testing do not need to be recorded with mitmproxy. | |||
When creating a new scenario test, ensure that the `page-timeout` is greater than the `scenario-time` to make sure raptor doesn't exit the test before the scenario timer ends. | |||
This test type can also be used for specialized tests that require communication with the control-server to do things like sending the browser to the background for X minutes. | |||
==== Power-Usage Measurement Tests ==== | ==== Power-Usage Measurement Tests ==== | ||
===== raptor-scn-power-idle ===== | ===== raptor-scn-power-idle ===== | ||
* contact: stephend | * contact: stephend, sparky | ||
* type: scenario | * type: scenario | ||
* browsers: Android: Fennec 64.0.2, GeckoView Example | * browsers: Android: Fennec 64.0.2, GeckoView Example ,Fenix, and Reference Browser | ||
* measuring: Power consumption for idle Android browsers, with about:blank loaded and app foregrounded, over a 20-minute duration | * measuring: Power consumption for idle Android browsers, with about:blank loaded and app foregrounded, over a 20-minute duration | ||
edits