aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-01-12 16:43:58 -0600
committerCharles Kerr <charles.kerr@canonical.com>2015-01-12 16:43:58 -0600
commit92b25d847074f06bb877570cb8ca02e07b61d67a (patch)
tree4214c4a7bdf5d781cc3948206065ce3014e8227d /tests
parenta43f1c33bba98ecde06dde674a214f61d4d23268 (diff)
downloadayatana-indicator-power-92b25d847074f06bb877570cb8ca02e07b61d67a.tar.gz
ayatana-indicator-power-92b25d847074f06bb877570cb8ca02e07b61d67a.tar.bz2
ayatana-indicator-power-92b25d847074f06bb877570cb8ca02e07b61d67a.zip
update manual tests
Diffstat (limited to 'tests')
-rw-r--r--tests/manual9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/manual b/tests/manual
index 1e6febd..8a305ac 100644
--- a/tests/manual
+++ b/tests/manual
@@ -13,7 +13,6 @@ $ gdbus call --session --dest "com.canonical.indicator.power" \
--object-path /com/canonical/indicator/power/Testing \
--method org.freedesktop.DBus.Properties.GetAll \
com.canonical.indicator.power.Testing
-({'MockBatteryEnabled': <false>, 'MockBatteryLevel': <uint32 50>, 'MockBatteryState': <'discharging'>, 'MockBatteryMinutesLeft': <uint32 30>},)
Enable the mock battery:
@@ -88,6 +87,14 @@ Test-case indicator-power/low-power-notifications
<dd>ubuntu-system-settings should be launched to the Battery page </dd>
</dl>
+Test-case indicator-power/low-power-icon
+<dl>
+ <dt>Wait for the system's battery level to drop to 21% (or fake it, see 'Notes on Battery Testing' above)</dt>
+ <dd>The indicator's icon should use the non-critical coloring (eg, grey)</dd>
+ <dt>Wait for the system's battery level to drop to 20% (or fake it, see 'Notes on Battery Testing' above)</dt>
+ <dd>The indicator's icon should use the critical coloring (eg, red)</dd>
+</dl>
+
Test-case indicator-power/device-brightness-slider
<dl>
<dt>On a device, pull down the power indicator's menu</dt>