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

 
(2 intermediate revisions by the same user not shown)
Line 41: Line 41:
== Tests ==
== Tests ==
=== Marionette/JS ===
=== Marionette/JS ===
Tracking: {{bug}}
Tracking: {{bug|805435}}


==== Basic Positive Tests ====
==== Basic Positive Tests ====
* Battery status change
* Battery status change
** Charging -> Full (test implemented)
** {{done|}}Charging -> Full
** Charging -> Discharging
** Charging -> Discharging
** Charging -> Not Charging
** Charging -> Not Charging
Line 51: Line 51:
** Full -> Charging
** Full -> Charging
** Full -> Discharging
** Full -> Discharging
** Full -> Not Charging (test implemented)
** {{done|}}Full -> Not Charging
** Full -> Unknown
** Full -> Unknown
** Not Charging -> Charging
** Not Charging -> Charging
** Not Charging -> Discharging (test implemented)
** {{done|}}Not Charging -> Discharging
** Not Charging -> Full
** Not Charging -> Full
** Not Charging -> Unknown
** Not Charging -> Unknown
** Discharging -> Charging (test implemented)
** {{done|}}Discharging -> Charging
** Discharging -> Full
** Discharging -> Full
** Discharging -> Not Charging (unrealistic scenario)
** Discharging -> Not Charging (unrealistic scenario)
Line 67: Line 67:
* Battery level change
* Battery level change
** Increase
** Increase
** Decrease (test implemented)
** {{done|}}Decrease


=== mochitest-plain===
=== mochitest-plain===
==== Sanity Tests ====
==== Sanity Tests ====
* Verify default values when battery is not present
* {{done|}}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