diff options
author | Ted Gould <ted@gould.cx> | 2014-09-08 22:58:48 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-09-08 22:58:48 -0500 |
commit | 334e3b3130cbde5a96e6da5323d40418db80f8ef (patch) | |
tree | 299d5e2a5cdaab892fe7c92b9405f721635124e3 /tests/manual | |
parent | cc51d0fc02f2980cc08fcd6cfc929ea61ff9d93a (diff) | |
parent | 059246d136ed8c24c5e78e6a966bf2dfc945fe4e (diff) | |
download | ayatana-indicator-power-334e3b3130cbde5a96e6da5323d40418db80f8ef.tar.gz ayatana-indicator-power-334e3b3130cbde5a96e6da5323d40418db80f8ef.tar.bz2 ayatana-indicator-power-334e3b3130cbde5a96e6da5323d40418db80f8ef.zip |
Merge trunk
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/manual b/tests/manual index d3a22e1..a542cac 100644 --- a/tests/manual +++ b/tests/manual @@ -22,3 +22,20 @@ Test-case indicator-power/unity8-items-check <dd>The menu is populated with items</dd> </dl> +Test-case indicator-power/low-battery-popups +<dl> + <dt>Open a terminal</dt> + <dt>Stop the currently-running power indicator: "stop indicator-power"</dt> + <dt>Start the fake battery harness in the tests/build/ directory: "indicator-power-service-cmdline-battery"</dt> + <dd>Battery indicator should update, showing a discharging battery with a 50% charge</dd> + <dt>Type: "10" (no quotes) and press Enter</dt> + <dd>A popup should appear saying 'Battery low - 10% charge remaining'</dd> + <dd>Battery indicator's icon should show a low charge</dd> + <dd>Battery indicator's "Charge level" menuitem should show a 10% charge</dd> + <dt>Type: "9" (no quotes) and press Enter</dt> + <dd>The 'Battery low' popup should NOT appear, since we've already been notified</dd> + <dd>Battery indicator's "Charge level" menuitem should show a 9% charge</dd> + <dt>Type: "5" (no quotes) and press Enter</dt> + <dd>No 'Battery low' popup SHOULD appear, since 5% is the next warning threshold</dd> + <dd>Battery indicator's "Charge level" menuitem should show a 5% charge</dd> +</dl> |