diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-08-22 09:55:30 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-08-22 09:55:30 -0500 |
commit | 3d4c3f2d2f0ebf2b39738531bd8b708d53d2206f (patch) | |
tree | b43fcc6a9bbde59a321fc2dc43fd4b9fe716fb3b /tests/manual | |
parent | a402b61b0acc81a808f9cb353e0df81bb9b14de0 (diff) | |
parent | c7e1740203b41bb9cb12da0ea97477363224e3ee (diff) | |
download | ayatana-indicator-power-3d4c3f2d2f0ebf2b39738531bd8b708d53d2206f.tar.gz ayatana-indicator-power-3d4c3f2d2f0ebf2b39738531bd8b708d53d2206f.tar.bz2 ayatana-indicator-power-3d4c3f2d2f0ebf2b39738531bd8b708d53d2206f.zip |
sync with 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> |