Details for testcase: XMir



BugReport a bug against the content of this testcase
ID1572
TitlexMir
LinkNo link provided
Part of testsuitesMir
Common Core

RevisionWritten on the 2013-09-18 12:58 by nskaggs
Text

Smoke Tests for xMir

Does your system continue to boot properly?
Can you login and logout of a desktop session?
Does unity function correctly? Can you open and close the dash, use the launcher, and keyboard shortcuts?
Do your input devices all work? Mouse, keyboard, etc?
Do your output devices all work? Monitors, tv, etc?
Are you able to run an opengl accelerated application (try running glxgears)?
Do applications load (try running simple apps like gedit, as well as complex ones like libreoffice)?
Can you connect an external monitor?
Does hotplugging work?
Does user switching work?
Overall, does everything function the same as when running under xserver?

Multimonitor tests for xMir
Scenario 1 : clean boot at “built-in display”, post boot connect/disconnect of 2nd display

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
2nd monitor is not connected on boot
Test 1.1
boot to single screen
open System Settings... -> Displays
open some window (e.g. terminal)
connect switched on monitor
verify display is an extension of desktop in the expected orientation, e.g. drag terminal to the other screen
Test 1.2
assumes expected outcome of Test 1.1 post condition
Disconnect the monitor
verify the display adjusts to return active windows to “built-in display”
Test 1.3
assumes expected Test 1.2 post condition
Reconnect the monitor
verify that the windows return to their original layout
Test 1.4
assumes Test 1.3 postcondition
On System Settings... -> Displays select “Mirror displays” on
verify the screens adjusted to mirrored mode
Test 1.5
assumes expected outcome of Test 1.4 postcondition
Disconnect the monitor
Reconnect the monitor
verify that the screens return to mirror mode layout

Scenario 2 : clean boot 2nd display already connected

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration, e.g. “Mirror displays” is off
2nd monitor is already connected and on prior to boot
Test 2.1
boot to multimonitor already connected
open window to drag
verify that desktop comes up in extended mode
Test 2.2
assumes expected outcome of Test 2.1 post condition
open System Settings... -> Displays select “Mirror displays” on
verify system reconfigures to mirrored screens
reboot
verify that system reboots into mirrored screens
Test 2.3
assumes expected Test 2.2 post condition
open System Settings... -> Displays select “Mirror displays” off
verify that the system reconfigures to extended desktop
reboot
verify that the system reboots into extended desktop

Scenario 3 : turning off “built-in display”

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
2nd monitor is already connected and on prior to boot
Test 3.1
boot to multimonitor already connected
open System Settings... -> Displays toggle on/off button for “built-in display” to OFF
verify the second display remains active as a single screen/desktop
Test 3.2
assumes expected outcome of Test 3.1 post condition
Open some windows (e.g. terminal)
disconnect display
verify the desktop returns to the “built-in display”
Test 3.3
assumes expected outcome of Test 3.2 post condition
reconnect the display
verify that the desktop now appears on the second display and the “built-in display” is dark
Test 3.4
assumes expected Test 3.3 postcondition
reboot with the second display connected
after login, verify that the desktop appears on the second display & the “built-in display” remains dark
Test 3.5
assumes expected Test 3.4 postcondition
open System Settings... -> Displays toggle on/off button for “built-in display” to ON
verify that the desktop appears extended on both the second display & the “built-in display”

Scenario 4 : resolution change for “built-in display” & second display

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
Test 4.1
boot to multimonitor (or if booted to single screen, connect 2nd monitor)
open System Settings... -> Displays, note the current resolution (referred to as res1)
change resolution down for “built in display”, note it, refer to as res2
open some windows (e.g. terminal & file browser), have windows on each screen open
disconnect switched on monitor
verify “built in monitor” returned to original resolution, res1
Test 4.2
assumes expected outcome of Test 4.1 post condition
Reconnect the monitor
verify the “built-in display” adjusts resolution back to res2
Test 4.3
assumes expected Test 4.2 post condition
Disconnect monitor, change resolution of “built in monitor” down (preferably to a 3rd resolution setting not yet used), refer to as res3
Reconnect the monitor
verify that the “built in monitor” returned to resolution setting selected in res 2
Disconnect the monitor
verify that the “built in monitor” returned to res3
Test 4.4
Assumes expected outcome of Test 4.3 postcondition
Reconnect monitor
through System Settings... -> Displays, select the second monitor & change resolution down, note it, refer to as res4
disconnect monitor, let it settle
reconnect monitor
verify the screens adjusted to res 2 for “built-in” & res 4 for second monitor

Scenario 5 : retation changes for display orientations

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
Test 5.1
boot to multimonitor (or if booted to single screen, connect 2nd monitor)
the system should be in extended desktop mode
open System Settings... -> Displays, change the “Rotation” for the “built-in display” to be clockwise
verify “built in monitor” turned 90 degrees clockwise
Test 5.2
assumes expected outcome of Test 5.1 post condition
open System Settings... -> Displays, change the “Rotation” for the “built-in display” to be normal
verify the “built-in display” adjusts resolution back to normal
Test 5.3
assumes expected Test 5.2 post condition
open System Settings... -> Displays, change the “Rotation” for the “built-in display” to be 180 degrees
verify that the “built in monitor” rotated 180 degrees
Test 5.4
assumes expected outcome of Test 5.3 postcondition
return the orientation of the primary screen to normal, via System Settings... -> Displays, change the “Rotation” for the “built-in display” to be normal
set mirror mode, via System Settings... -> Displays select tick box on “Mirror displays”
then rotate, System Settings... -> Displays, change the “Rotation” for the “built-in display” to be 180 degrees
verify the both “built-in display” and 2nd display rotate 180
Test 5.5
assumes expected Test 5.4 postcondition
return rotation to normal, open System Settings... -> Displays, change the “Rotation” for mirrored displays to normal
unmirror, System Settings... -> Displays, unselect tick box for “Mirror displays”
select the 2nd monitor in the System Settings... -> Displays and change the Rotation clockwise
verify that the “built in monitor” did not rotate, and the second display rotates 90 degrees

Scenario 6 : relative display position

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
Test 6.1
boot to multimonitor (or if booted to single screen, connect 2nd monitor)
open System Settings... -> Displays to see the reflected virtual relationship of the “built-in display” to the second display
verify with the mouse by exiting the relative side of “built-in display” the mouse appears/enters the second display as reflected in the Displays dialog box
Test 6.2
assumes expected Test 6.1 post condition
in System Settings... -> Displays, select & grab the secondary display to move its relative position to the “built-in” display (effectively swap their position left-right of each other)
verify with the mouse by exiting the relative side of “built-in display” the mouse appears/enters the second display as reflected in the Displays dialog box

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

RevisionWritten on the 2013-08-26 12:46 by nskaggs
RevisionWritten on the 2013-08-16 16:57 by nskaggs
RevisionWritten on the 2013-06-28 13:45 by nskaggs