Mir
Size: 5160
Comment:
|
Size: 5787
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 40: | Line 40: |
* For screen blanking use [[USCTestPlan|https://wiki.ubuntu.com/Process/Merges/TestPlans/unity-system-compositor]] | * For screen blanking use [[https://wiki.ubuntu.com/Process/Merges/TestPlans/unity-system-compositor|USCTestPlan]] |
Line 52: | Line 52: |
* Spread smoothness (TODO: automate this) * Make sure the Unity8 spread animation is smooth visually. * Run multiple instances (e.g., 5) of a GPU rendering app (e.g., "mir_demo_client_egltriangle") and make sure performance doesn't degrade too much w.r.t. the virgin image (e.g. using "mir_demo_server --compositor-report=log" - keep an eye on per-frame render time. E.g. lp:1563287 showed an order of magnitude difference) * Repeat the same test with a CPU rendering app. |
|
Line 70: | Line 74: |
* note: with the mir 0.18 release, nexus 7 u8 autopilot testing is broken due to autopilot not working with tablet-mode-configured devices. |
Test plan for component: Mir and unity-system-compositor
Component Checklist: https://wiki.ubuntu.com/Process/Merges/Checklists/Mir
Trunk URL: lp:mir/ubuntu (note: mir has release branches example lp:mir/0.16)
& lp:unity-system-compositor
Ubuntu Package URL (LP): http://launchpad.net/ubuntu/+source/mir
Dependents/Clients
Clients of this component
qtubuntu https://launchpad.net/qtubuntu
Platform-api http://code.launchpad.net/platform-api
Xmir https://code.launchpad.net/~xmir-team/xorg-server/+git/xmir
Unity-System-Compositor http://code.launchpad.net/unity-system-compositor
url-dispatcher
trust-store
pay-service
SDL
ubuntu-app-launch
GTK-3
Test Plan
NOTE: Please consider all platforms and configurations. "Ubuntu Phone" includes Nexus4, Nexus7 2013, arale and krillin. "Ubuntu Desktop" includes XMir, can be installed via unity8-desktop-session-mir. Note, substantive changes in unity-system-compositor should mandate testing of "Ubuntu Desktop".
Ubuntu Phone
- Successful run of automated CI testing (already done by the CI autolander)
- In addition, install updated image on phone and tablet
- Install packages from build silo
- note: even safer to install only the packages you've built (not dist-upgrade)
- Ensure navigating/scrolling the ui/Dash works as expected (note: cross check known unity8 bugs for any oddities witnessed)
For screen blanking use USCTestPlan
Ensure app launches and can quit apps
- make sure to launch multiple apps and swap them
- when you launch the app, do not touch the screen and make sure it updates
- when you quit the app, make sure a new app doesn't launch
Browser copy/paste to Notes application (need to be downloaded from the Ubuntu store)
note see bugs list, currently browser only allows selection of paragraph not a single word
- open browser, go to cnn.com article with text
- select text, long press for copy prompt, press copy
- launch Notes, new note, long press to activate paste prompt, paste
- select note to activate OSK, rotate a few times and ensure osk and notepad follow rotation
- note copy/paste, OSK, rotation, moving between apps should function as expected
- Spread smoothness (TODO: automate this)
- Make sure the Unity8 spread animation is smooth visually.
- Run multiple instances (e.g., 5) of a GPU rendering app (e.g., "mir_demo_client_egltriangle") and make sure performance doesn't degrade too much w.r.t. the virgin image (e.g. using "mir_demo_server --compositor-report=log" - keep an eye on per-frame render time. E.g. lp:1563287 showed an order of magnitude difference)
- Repeat the same test with a CPU rendering app.
- Notes copy/paste to message app
note currently msg app has a bug where paste doesn't prompt/highlight properly
- open Notes, type some text
long press to prompt & select all text
long press again to prompt & copy text
- dismiss keyboard
- open message app, activate compose area, long press to prompt, paste
make sure OSK functions correctly, especially top row extended keys on OSK
make sure OSK rotates correctly
Download click app & launch (covers dash, click, osk, acct)
- (without having setup accounts) Navigate to the Dash recommended applications
- select app, select install
- should be prompted to settings, enter U1 info with OSK
- return to dash install app, open app
- note the various screen switching and OSK prompting should function as expected
- Open Gallery
- play around in the app, make sure images captured by the Camera look correct.
run unity8 AP test per https://wiki.ubuntu.com/Touch/Testing#Testing_your_Ubuntu_Touch_Code_before_submission
- note: with the mir 0.18 release, nexus 7 u8 autopilot testing is broken due to autopilot not working with tablet-mode-configured devices.
run browser AP test (ensure pass rate is similar to smoke results : http://ci.ubuntu.com/smokeng/vivid/). Note: same link as above, under "Running Deb tests" - look for 'webbrowser'.
- If any oddities are witnessed, retest virgin image without mir changes
- phablet-screenshot running from a desktop connected to the device shall work for all supported devices (manta, flo, mako).
Ubuntu Desktop
Desktop testing is recommended for XMir when Mir landing attempt involves client API changes and significant unity-system-compositor changes. Unity8-desktop-session-mir testing is also recommended for significant unity-system-compositor changes.
- Successful run of automated CI testing
- In addition update desktop from archive (assumes on utopic)
- Install packages from build silo
- Install Xmir
- go to a VT and launch mir_demo_server as root with the option --arw-file
- launch Xmir in a another VT using: Xmir -mirSocket /tmp/mir_socket -damage :2
- in another VT: DISPLAY=:2 gedit
- Switch to the mir VT
- Interact with gedit, write a text document, save it, load another.
- Install unity8-desktop-session-mir
- login to unity8 desktop and utilize applications such as browser, play with dash
- allow screen to blank, wake up
Process/Merges/TestPlans/Mir (last edited 2024-05-09 13:09:10 by alan-griffiths)