MultiMonitorTesting

Differences between revisions 9 and 10
Revision 9 as of 2013-08-25 13:11:56
Size: 10099
Editor: kgunn72
Comment:
Revision 10 as of 2013-08-25 13:12:39
Size: 10110
Editor: kgunn72
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
== Tests ==

Mir Multimonitor Testing

Multimonitor testing will be conducted via a Call for Testing from 8/26/13 - 8/28/13 for Ubuntu 13.10. During this timeframe the feature will be provided via the Ubuntu 13.10 system-compositor-testing PPA and will be integrated into trunk/archive shortly after testing ends. Please refer to the general testing instructions for more information.

The listed test cases can also be used for general regression testing for Multimonitor functionality.

We are tracking results in the QA Tracker but also in the MultiMonitor test results wiki. Feel free to add your findings to the place that is more convenient to you.

General Multimonitor Testing Notes

First you can find a list of all the bugs we've identified so far relevant to multimonitor here https://bugs.launchpad.net/xmir/+bugs?field.tag=multimonitor tagged with "multimonitor"

Second, in some cases be patient both to ensure you are not witnessing a bug or to elicit a bug. X takes some moments to accommodate the display configuration change. It may be worthy to remind you that this is pre-beta software which has not been optimized. The goal is to dicover functional issues.

Third, in the event you experience an issue such as a ui lockup, another good debug step is to run a mir_demo_client_xxx, simply VT switch (e.g. ctl+alt+F1) and type $ sudo chmod 777 /tmp/mir_socket $ sudo mir_demo_client_egltriangle switch back to mir server on VT (ctl+alt+F7), if mir is still operating you will see spinning triangle, this means X has had an issue.

Fourth, based on our preliminary testing, it is most useful to capture the /var/log/Xorg.0.log or Xorg.0.log.old in the instance of a catasrophic bug.

Tests

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 (Mandatory)

  • 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 (Mandatory)

  • 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 (Mandatory)

  • assumes expected Test 1.2 post condition
  • Reconnect the monitor
  • verify that the windows return to their original layout

Test 1.4 (Mandatory)

  • assumes Test 1.3 postcondition
  • On System Settings... -> Displays select “Mirror displays” on

  • verify the screens adjusted to mirrored mode

Test 1.5 (Mandatory)

  • 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 (Mandatory)

  • boot to multimonitor already connected
  • open window to drag
  • verify that desktop comes up in extended mode

Test 2.2 (Mandatory)

  • 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 (Mandatory)

  • 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 (Mandatory)

  • 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 (Mandatory)

  • 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 (Mandatory)

  • 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 (Mandatory)

  • 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 (Mandatory)

  • 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 : rotation 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

  • un-mirror, 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

Mir/MultiMonitorTesting (last edited 2013-08-29 21:56:46 by nskaggs)