Details for testcase: Xfce4 Power Manager Settings



BugReport a bug against the content of this testcase
ID1582
TitleXfce4 Power Manager Settings
LinkNo link provided
Part of testsuitesXfce Core
Xfce Settings Manager
Xubuntu LTS A Priority
Xubuntu Short Test

RevisionWritten on the 2015-11-09 08:28 by flocculant
Text

This testcase requires suspending and shutting down
These tests are intended to be run on a laptop and the laptop should be plugged in to start the test
If you do choose to run them on a desktop, you will only see a subset of the options mentioned below

This test will check that Xfce4 Power Manager opens and closes correctly

Open Power Manager from Settings
The Xfce Power Manager dialog opens at the General tab
Click the "Close" button
Power Manager closes
Click the power indicator (battery icon) on the panel
Power menu appears
Click "Power Manager Settings..."
The Xfce Power Manager dialog opens at the General tab

These tests will check the Xfce4 Power Manager settings under the General tab

Untick the "Handle display brightness keys" box
Press the laptop function keys that control screen brightness
A brightness notification bar may appear but the screen brightness does not change
Tick "Handle display brightness keys"
Press the laptop function keys that control screen brightness
Screen brightness changes
Verify that the "When power button is pressed:" option is set to "Ask"
Press the laptop's power button
The "Log out username" window appears
Click Cancel
The log out dialog closes
Change the "When power button is pressed:" option to "Shutdown"
Press the power button
The laptop does a normal shutdown
After restarting, open Power Manager
The Xfce Power Manager dialog opens at the General tab
Perform steps 12 through 18 twice; once while plugged in, changing the settings under "Plugged in" and once unplugged, changing the "On Battery" settings
Verify "When laptop lid is closed" is set to "Lock screen"
Close the laptop lid, wait several seconds, open the lid and move the mouse
Unlock dialog appears (assuming "Lock screen when system is going for sleep" is enabled under the Security tab)
Enter password and press Unlock
Desktop appears with Xfce Power Manager dialog still open
Change the "When laptop lid is closed" setting to "Suspend"
Close the laptop lid, wait several seconds, reopen and move the mouse
Laptop is in suspend mode
Press the appropriate key/button to resume from suspend
Laptop resumes from suspend mode and the Unlock dialog appears
Enter password and press Unlock
Desktop appears with Xfce Power Manager dialog still open
Plug the laptop back in

These tests will check the Xfce4 Power Manager settings under the System tab
Note: the suspend tests require a minimum of 15 minutes of inactivity, so only perform them if time allows

Click the System tab
The settings page for "System power saving", Critical power" and "Security" is displayed
Verify that "System sleep mode:" is set to "Suspend" for both "On battery" and "Plugged in"
Move both "Put system to sleep when inactive for" sliders to the right to set them for 15 Minutes
Note: 15 minutes is the shortest duration you can set with the sliders
Wait 15 minutes
The laptop suspends at the end of 15 minutes of inactivity
Press the appropriate key/button to resume from suspend
Laptop resumes from suspend mode and the Unlock dialog appears
Enter password and press Unlock
Desktop appears with Xfce Power Manager and Settings Editor dialogs still open
Unplug the laptop and repeat steps 4 through 6
Results are the same as they were when plugged in
Plug the laptop in
Move both of the "Put system to sleep when inactive for" sliders to the left until they say "Never"
Change the values in the "Critical battery power level:" spin box
Range can be set from 1% to 20%
Verify that you can change the "On critical battery power:" options in the picklist
Newly selected options are set

These tests will check the Xfce4 Power Manager settings under the Display tab

Click the Display tab
The settings page for "Display power management settings" and "Brightness reduction" is displayed
Tick the "Handle display power management" box if it is not already ticked
Move the "Blank after" slider under "On battery" to approximately 5 minutes
Move the "Put to sleep after" and "Switch off after" sliders under "On battery" to approximately 10 minutes and 15 minutes respectively
Move the "Blank after" slider from 5 minutes to 20 minutes
The "Put to sleep after" and "Switch off after" sliders also move to +1 minute and +2 minutes respectively compared to the "Blank after" slider
Move the "Switch off after" slider to 10 minutes
The "Put to sleep after" and Blank after" sliders move to -1 minute and -2 minutes respectively compared to the "Switch off after" slider
Time permitting, experiment with as many of the settings on this page as you can. They are pretty much self-explanatory
The display power and brightness respond as expected according to the settings

This testcase requires suspending/resuming

This test will check that sessions are locked when appropriate.

On Display tab, set Switch off to 3 minutes, Put to sleep to 2 minutes and Blank Screen to 1 minute
Click the Security tab
The settings page opens with current settings displayed
Change "Automatically lock the session" to "When the screensaver is activated"
Change the "Delay locking after screensaver" slider to 10 seconds
After 1 minute of no activity, your screen will go blank
Move your mouse as soon as the screen blanks
Your screen is restored
Wait another minute
Your screen will go blank
Wait 10 more seconds and then move your mouse
The Unlock dialag appears
Enter your password to unlock the session
Session unlocked
Verify that the "Lock screen when system is going for sleep" switch is disabled
Suspend your session from the menu
Resume from suspend
The screen is restored immediately
Set the "Lock on suspend" switch to ON
Suspend your session from the menu
Resume from suspend
The Unlock dialog appears

These tests will check the Xfce4 Power Manager settings under the Devices tab

Click the Devices tab
The page for line power and battery status is displayed
Plug the laptop in
The "Line power" icon reads "Plugged in"
The battery vendor icon displays the status of the battery charge
Unplug the laptop
The "Line power" icon reads "Not plugged in"
The battery vendor icon reads "Discharging" and displays the charge percentage and time until discharge
If "Show notifications" is ticked on the General tab page, a popup notification appears

If all actions produce the expected results listed, please submit a 'passed' result.
If an action fails, or produces an unexpected result, please submit 'failed' and file a bug. Please be sure to include the bug number when you submit your result

RevisionWritten on the 2015-10-22 11:59 by flocculant
RevisionWritten on the 2014-11-30 09:48 by elfy
RevisionWritten on the 2013-07-30 16:50 by nskaggs
RevisionWritten on the 2013-07-26 08:59 by knome
RevisionWritten on the 2013-07-26 08:40 by knome