diff options
| author | Charles Kerr <charles.kerr@canonical.com> | 2014-07-30 10:52:30 +0000 |
|---|---|---|
| committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-07-30 10:52:30 +0000 |
| commit | b4f91b1d69a66c2d3e97feeed357243ddfda451f (patch) | |
| tree | 90e88aefae6fc2eeb49ad4afed75b1f8d2788e6a /tests/manual | |
| parent | 967a5479db7d280255f669102f045076e09420d8 (diff) | |
| parent | b46ec7d0cc35d10197a1a91f473e0a655188f6eb (diff) | |
| download | ayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.tar.gz ayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.tar.bz2 ayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.zip | |
Add low-battery notifications. Fixes: 1317858, 1317860
Approved by: PS Jenkins bot, Lars Uebernickel
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> |
