B2G/QA/WebAPI Test Plan/Battery Status: Difference between revisions

Line 41: Line 41:
== Tests ==
== Tests ==
=== Marionette/JS ===
=== Marionette/JS ===
==== TBD ====
Tracking: {{bug}}
* TBD
 
==== Basic Positive Tests ====
* Battery status change
** Charging -> Full (test implemented)
** Charging -> Discharging
** Charging -> Not Charging
** Charging -> Unknown
** Full -> Charging
** Full -> Discharging
** Full -> Not Charging (test implemented)
** Full -> Unknown
** Not Charging -> Charging
** Not Charging -> Discharging (test implemented)
** Not Charging -> Full
** Not Charging -> Unknown
** Discharging -> Charging (test implemented)
** Discharging -> Full
** Discharging -> Not Charging (unrealistic scenario)
** Discharging -> Unknown
** Unknown -> Charging
** Unknown -> Discharging
** Unknown -> Full
** Unknown -> Not Charging
* Battery level change
** Increase
** Decrease (test implemented)


=== mochitest-plain===
=== mochitest-plain===
==== TBD ====
==== Sanity Tests ====
* TBD
* Verify default values when battery is not present


----
----
<small>This page is based on the [[B2G/QA/WebAPI Test Plan/Template|WebAPI Test Plan Template]]</small>
<small>This page is based on the [[B2G/QA/WebAPI Test Plan/Template|WebAPI Test Plan Template]]</small>
Confirmed users
2,177

edits