diff options
| author | Albert Zhang <albert.zhang@canonical.com> | 2014-05-07 19:10:33 +0800 |
|---|---|---|
| committer | Albert Zhang <albert.zhang@canonical.com> | 2014-05-07 19:10:33 +0800 |
| commit | 820aec14544492364eb99f30324d8cd75615e077 (patch) | |
| tree | 3e1b1d19c567b81ee92b5e8ef8720fefe7fbf130 | |
| parent | 735acbd14e54df781e06e595ac844c2935504a28 (diff) | |
add somerville jobs
| -rw-r--r-- | jobs/main.txt.in | 5 | ||||
| -rw-r--r-- | jobs/somerville/nanjing.txt.in | 10 | ||||
| -rw-r--r-- | jobs/somerville/nanjing/application.txt.in | 158 | ||||
| -rw-r--r-- | jobs/somerville/nanjing/desktop.txt.in | 46 | ||||
| -rw-r--r-- | jobs/somerville/recovery.txt.in | 56 | ||||
| -rw-r--r-- | jobs/somerville/somerville.txt.in | 516 |
6 files changed, 791 insertions, 0 deletions
diff --git a/jobs/main.txt.in b/jobs/main.txt.in index 1a811f6..6b8b58f 100644 --- a/jobs/main.txt.in +++ b/jobs/main.txt.in @@ -8,3 +8,8 @@ id: stella command: cat ${PLAINBOX_PROVIDER_DATA}/../jobs/stella/stella.txt* _description: stella specific +plugin: local +id: somerville +command: cat ${PLAINBOX_PROVIDER_DATA}/../jobs/somerville/somerville.txt* +_description: dell specific + diff --git a/jobs/somerville/nanjing.txt.in b/jobs/somerville/nanjing.txt.in new file mode 100644 index 0000000..ece0331 --- /dev/null +++ b/jobs/somerville/nanjing.txt.in @@ -0,0 +1,10 @@ +plugin: local +name: somerville/nanjing/application +command: cat ${CHECKBOX_OEM_SOMERVILLE_SHARE}/jobs/nanjing/application.txt* +_description: Somerville 11.10 Nanjing Application Verification + +plugin: local +name: somerville/nanjing/desktop +command: cat ${CHECKBOX_OEM_SOMERVILLE_SHARE}/jobs/nanjing/desktop.txt* +_description: Somerville 11.10 Nanjing Desktop Verification + diff --git a/jobs/somerville/nanjing/application.txt.in b/jobs/somerville/nanjing/application.txt.in new file mode 100644 index 0000000..0423178 --- /dev/null +++ b/jobs/somerville/nanjing/application.txt.in @@ -0,0 +1,158 @@ +plugin: manual +name: somerville/nanjing/application/baidu +_description: + PURPOSE: + 1. Verify Baidu search engine is installed + 2. Homepage is set to Baidu + STEPS: + 1. Click "Firefox Web Browser" from the launcher + VERIFICATION: + 1. The default search engine on the right of Navigation Toolbar is Baidu + 2. The home page of Firefox is "http://www.hao222.com/index.htm?tn=ubuntuu_hao_pg" + +plugin: manual +name: somerville/nanjing/application/baidu-search +_description: + PURPOSE: + 1. Verify Baidu search result is shown when entering search keyword in the Baidu search bar + STEPS: + 1. Launch Firefox and enter any search keyword in the Baidu search bar + VERIFICATION: + 1. Baidu search result should show. + +plugin: manual +name: somerville/nanjing/application/qq +_description: + PURPOSE: + 1. Verify WebQQ can be accessed through Web Browser + STEPS: + 1. Click "QQ" from the launcher + VERIFICATION: + 1. Succeed to login "web.qq.com" + 2. Succeed to search, chat with friends and groups + NOTES: + 1. QQ account information can be get from https://wiki.canonical.com/OEMServices/QA/Testing + +plugin: manual +name: somerville/nanjing/application/input-method1 +_description: + PURPOSE: + 1. Verify that input method is enabled by default and it is able to input Chinese characters + STEPS: + 1. Press Super key to launch the dash + 2. Input "Gedit" in the text area + 3. Start input method by pressing [CTRL] + [SPACE] + 4. Input "ceshi" followed by pressing SPACE to input Chinese characters + VERIFICATION: + 1. "ceshi" Chinese characters("测试") should be inputted in the text editor + NOTES: + 1. Use [ALT] + [SHIFT_L] to switch input methods + +plugin: manual +name: somerville/nanjing/application/input-method2 +_description: + PURPOSE: + 1. SunPinYin and WuBi input methods are available for selection. + STEPS: + 1. Go to iBus Preferences/Input Method + 2. Click on 'Select an input method' and mouse over to Chinese + VERIFICATION: + 1. SunPinYin and WuBi input methods should be available for selection + +plugin: manual +name: somerville/nanjing/application/fonts +_description: + PURPOSE: + 1. Verify the default Chinese fonts is Hanyi + STEPS: + 1. The Chinese font which current use is detected: + $output + 2. Launch "LibreOffice Writer" + 3. Choose "汉仪宋体" or "汉仪楷体" + 4. Start Chinese Input Method by pressing [CTRL]+[SPACE] + 5. Input some Chinese characters + VERIFICATION: + 1. The font is "Hanyi"? + 2. Chinese characters are in "汉仪宋体" or "汉仪楷体" font + +plugin: manual +name: somerville/nanjing/application/renren +_description: + PURPOSE: + 1. Verify Renren can be accessed through Web Browser + STEPS: + 1. Click "人人网" from the launcher + VERIFICATION: + 1. Succeed to login "www.renren.com" + +plugin: manual +name: somerville/nanjing/application/fetion +_description: + PURPOSE: + 1. Verify Fetion can be accessed through Web Browser + STEPS: + 1. Click "飞信" from the launcher + VERIFICATION: + 1. Succeed to login "webim.feixin.10086.cn" + +plugin: manual +name: somerville/nanjing/application/youku +_description: + PURPOSE: + 1. Verify Youku can be accessed through Web Browser + STEPS: + 1. Click "优酷" from the launcher + VERIFICATION: + 1. Succeed to show the homepage of "www.youku.com" + +plugin: manual +name: somerville/nanjing/application/qiyi +_description: + PURPOSE: + 1. Verify Qiyi can be accessed through Web Browser + STEPS: + 1. Click "奇艺" from the launcher + VERIFICATION: + 1. Succeed to show the homepage of "www.qiyi.com" + +plugin: manual +name: somerville/nanjing/application/OS-installer +_description: + PURPOSE: + 1. Verify that OS installer is in Chinese Simplified + STEPS: + 1. Create a USB startup key to install Somerville/Nanjing Oneiric image + VERIFICATION: + 1. Texts during the OS installation are in Chinese Simplified. + +plugin: manual +name: somerville/nanjing/application/oem-config +_description: + PURPOSE: + 1. Verify that oem-config is in Chinese Simplified + STEPS: + 1. Create a USB startup key to install Somerville/Nanjing Oneiric image + VERIFICATION: + 1. Texts during the locale setting are in Chinese Simplified. + 2. Chinese Simplified is selected by default in language setting, but other 24 languages should be avaiable as well. + +plugin: manual +name: somerville/nanjing/application/gwibber +_description: + PURPOSE: + 1. Verify that Gwibber includes plugins for sina and sohu + STEPS: + 1. Click Gwibber from the launcher and check the plugins + VERIFICATION: + 1. Sina and sohu should be on the list + +plugin: manual +name: somerville/nanjing/application/update-sources +_description: + PURPOSE: + 1. Verify that the software update sources are set to China mirrors by default + STEPS: + 1. Launch Software Sources, check the first tab Ubuntu Software + VERIFICATION: + 1. The 'Download from” should be servers in China + diff --git a/jobs/somerville/nanjing/desktop.txt.in b/jobs/somerville/nanjing/desktop.txt.in new file mode 100644 index 0000000..bd24993 --- /dev/null +++ b/jobs/somerville/nanjing/desktop.txt.in @@ -0,0 +1,46 @@ +plugin: manual +name: somerville/nanjing/desktop/launcher +_description: + PURPOSE: + 1. Verify Launcher has "Home Folder", "FireFox", "WebQQ", "Renren", "Youku", "Qiyi", "Fetion", "Software Center", "Ubuntu One", workspace swither, and Trash icons + STEPS: + 1. Login system with Unity 2D. + VERIFICATION: + 1. There should be "Home Folder", "FireFox", "WebQQ", "Renren", "Youku", "Qiyi", "Fetion", "Software Center", "Ubuntu One", workspace swither, and Trash icons in the launcher panel. + +plugin: manual +name: somerville/nanjing/desktop/dash +_description: + PURPOSE: + 1. Verify Dash has "FireFox", "Baidu", "HAO222", "Thunderbird", "Banshee" "WebQQ" and Lens (Media Apps, Internet Apps, More Apps, Find Files) icons + STEPS: + 1. Click 'Dash home' to launch dash + VERIFICATION: + 1. There should be "FireFox", "Baidu", "HAO222", "Thunderbird", "Banshee" "WebQQ" and Lens (Media Apps, Internet Apps, More Apps, Find Files) icons in the dash + +plugin: manual +name: somerville/nanjing/desktop/unity-2d +_description: + PURPOSE: + 1. Verify that Unity-2D is the default login display manager + STEPS: + 1. At the login window, click on the wheel icon + 2. Login and check the dash and launcher + 3. Log out and login with Unity, check the dash home + VERIFICATION: + 1. 'Unity 2D' should be selected by default + 2. Dash and launcher are customerized for China users + 3. Dash is not customized. + NOTES: + 1. Unity doesn't allow for customization of the home lens in the dash. + +plugin: manual +name: somerville/nanjing/desktop/default-browser +_description: + PURPOSE: + 1. Verify that the default browser is Firefox + STEPS: + 1. Find a web link in any application help page and click on the link + VERIFICATION: + 1. FireFox should be launched automatically + diff --git a/jobs/somerville/recovery.txt.in b/jobs/somerville/recovery.txt.in new file mode 100644 index 0000000..10832c7 --- /dev/null +++ b/jobs/somerville/recovery.txt.in @@ -0,0 +1,56 @@ +plugin: manual +name: somerville/recovery/install-USB +_description: + PURPOSE: + 1. Verify USB recovery media is built successfully during the system installation + STEPS: + 1. When Recovery Media Generation appears during image installation, choose to copy image to USB drive + 2. Insert a USB key and specify the USB drive to create the recovery USB key. When finished, remove the key and proceed to finish the installation + 3. Reboot the system and perform system recovery using the USB key + VERIFICATION: + 1. In Step 2, the installation should complete successfully + 2. In Step3, the system should be recovery successfully + +plugin: manual +name: somerville/recovery/install-DVD +_description: + PURPOSE: + 1. Verify DVD recovery media is built successfully during the system installation + STEPS: + 1. When Recovery Media Generation appears during image installation, choose to create DVD recovery + 2. Insert a blank DVD-RW and specify the optical drive to create the recovery DVD. When finished, remove the DVD and proceed to finish the installation + 3. Reboot the system and perform system recovery using the recovery DVD + VERIFICATION: + 1. In Step 2, the installation should complete successfully + 2. In Step3, the system should be recovery successfully + +plugin: manual +name: somerville/recovery/desktop-disk +_description: + PURPOSE: + 1. Verify "Dell Recovery" works from internal disk + STEPS: + 1. Use "Dell Recovery" to perform a full recovery from internal disk. (System>Administration>Dell Recovery) + VERIFICATION: + 1. Did you perform a recovery from internal disk successfully? + +plugin: manual +name: somerville/recovery/desktop-DVD +_description: + PURPOSE: + 1. Verify "Dell Recovery" works from DVD + STEPS: + 1. Use "Dell Recovery" to perform a full recovery from DVD (System>Administration>Dell Recovery) + VERIFICATION: + 1. Did you perform a recovery from DVD disk successfully? + +plugin: manual +name: somerville/recovery/desktop-USB +_description: + PURPOSE: + 1. Verify "Dell Recovery" works from internal USB + STEPS: + 1. Use "Dell Recovery" to perform a full recovery from USD (System>Administration>Dell Recovery) + VERIFICATION: + 1. Did you perform a recovery from USB successfully? + diff --git a/jobs/somerville/somerville.txt.in b/jobs/somerville/somerville.txt.in new file mode 100644 index 0000000..a1a751a --- /dev/null +++ b/jobs/somerville/somerville.txt.in @@ -0,0 +1,516 @@ +plugin: manual +name: somerville/phase-sku +_description: + PURPOSE: + 1. Add hardware system code to report + STEPS: + 1. Enter the system code from the sticker on the hardware into the comments field below + For example: W13-E2-C2 + 2. Once the code has been entered, select "Yes" + VERIFICATION: + 1. No verification needed + +plugin: shell +name: somerville/query-bto-version +requires: package.name == "dell-recovery" +command: cat /etc/buildstamp +user: root +_description: + PURPOSE: + 1. Verify BTO version is correct + STEPS: + 1. BTO version information is: + $output + VERIFICATION: + 1. Is the BTO version information correct? + +plugin: shell +name: somerville/query-bto-version-output +requires: package.name == "dell-recovery" +command: cat /etc/buildstamp +user: root +_description: Automated test to store the BTO version information + +plugin: remote +name: somerville/app-check +command: open_and_close_applications.py +_description: Validate that all apps can be launched and closed. + +plugin: manual +name: somerville/update +_description: + PURPOSE: + 1. Verify the system can install updates successfully + STEPS: + 1. Use Update Manager to update the system + VERIFICATION: + 1. Were you able to update the system and still have full functionality, ie. wireless, ACPI functions, etc. ? + NOTES: + 1. Please perform this test last. + +plugin: shell +name: somerville/manifest_version +command: python /usr/share/checkbox-oem-somerville/scripts/query_bto_version.py +user: root +_description: + PURPOSE: + 1. Add manifest file name to the report + STEPS: + 1. Enter the manifest file name into the comments field below + 2. Once the name has been entered, select "Yes" + VERIFICATION: + 1. No verification needed + +plugin: local +name: somerville/recovery +command: cat ${CPLAINBOX_PROVIDER_DATA}/../jobs/recovery.txt* +_description: + Dell Recovery + Please run this test before running Checkbox. + +plugin: manual +name: somerville/image-install +_description: + PURPOSE: + 1. To validate that the base BTO candidate can be installed successfully on representitive systems + STEPS: + 1. Create a BTO image based on the beta 1 Ubuntu release. + 2. Install it on representitive systems. + 3. Repeat with beta 2 Ubuntu release. + VERIFICATION: + 1. Does the install go successfully and the system can boot to desktop after the install? + +plugin: manual +name: somerville/skype +_description: + PURPOSE: + 1. To validate that Skype is functioning with audio and webcam devices. + STEPS: + 1. Install Skype via Ubuntu Software Center, if not installed by default. + 2. Log in Skype. Confirm you can add contacts and save contacts + 3. Confirm you can edit your preferences + 4. Confirm you can see which one of your friends are available online + 5. Make a test call and verify the internal microphone and speakers work + 6. Test the video and verify the webcam works + VERIFICATION: + 1. Have the conditions been met with no adverse effects? + +plugin: manual +name: somerville/yahoo-toolbar +_description: + PURPOSE: + 1. To validate that yahoo toolbar is installed by default in Firefox + STEPS: + 1. Install the image and open Firefox + 2. Perform a search using the Yahoo toolbar search box + 3. Perform a search using the browser search bar + 4. Click the Yahoo! logo on the toolbar. + VERIFICATION: + 1. Yahoo toolbar should appear and the default home page is http://www.yahoo.com/?fr=dell_lin-home + 2. In Step 2 and 3, Dell specific settings ('dell_lin') should appear in the search page link. + 3. The web page should refresh to http://www.yahoo.com/?fr=fptb-dell_lin + +plugin: shell +name: somerville/01-suspend-30 +requires: + package.name == 'pm-utils' + package.name == 'fwts' +command: pm.py --silent --log-level=notset -r 30 suspend +user: root +timeout: 50000 +_description: + Stress suspend/resume system (30 cycles) + . + Log will be available at: /var/log/pm.py.suspend.30.log + +plugin: attachment +name: somerville/02-suspend-30_log +depends: somerville/01-suspend-30 +command: file=/var/log/pm.py.suspend.30.log; if [ -e "$file" ]; then cat "$file"; fi + +plugin: shell +name: somerville/03-hibernate-30 +requires: + package.name == 'pm-utils' + package.name == 'fwts' +command: pm.py --silent --log-level=notset -r 30 hibernate +user: root +timeout: 50000 +_description: + Stress hibernate/restore system (30 cycles) + . + Log will be available at: /var/log/pm.py.hibernate.30.log + +plugin: attachment +name: somerville/04-hibernate-30_log +depends: somerville/03-hibernate-30 +command: file=/var/log/pm.py.hibernate.30.log; if [ -e "$file" ]; then cat "$file"; fi + +plugin: shell +name: somerville/05-reboot-30 +requires: + package.name == 'upstart' + package.name == 'fwts' +command: pm_test -r 30 --log-level=notset reboot +user: root +_description: + Stress reboot system (30 cycles) + . + Log will be available at: /var/log/pm.py.reboot.30.log + +plugin: attachment +name: somerville/06-reboot-30_log +depends: somerville/05-reboot-30 +command: file=/var/log/pm_test.reboot.30.log; if [ -e "$file" ]; then cat "$file"; fi + +plugin: shell +name: somerville/07-poweroff-30 +requires: + package.name == 'upstart' + package.name == 'fwts' +command: pm_test -r 30 --log-level=notset poweroff +user: root +_description: + Stress poweroff system (30 cycles) + . + Log will be available at: /var/log/pm.py.poweroff.30.log + +plugin: attachment +name: somerville/08-poweroff-30_log +depends: somerville/07-poweroff-30 +command: file=/var/log/pm_test.poweroff.30.log; if [ -e "$file" ]; then cat "$file"; fi + +plugin: shell +name: somerville/09-suspend-30_check +depends: somerville/01-suspend-30 +command: pm_check.py --log-level=notset /var/log/pm.py.suspend.30.log +_description: Check logs for the stress suspend/resume (30 cycles) test case + +plugin: attachment +name: somerville/10-suspend-30_check_log +depends: somerville/09-suspend-30_check +command: + file=$CHECKBOX_DATA/pm_check.py.suspend.30.log; if [ -e "$file" ]; then cat "$file"; fi + +plugin: shell +name: somerville/11-hibernate-30_check +depends: somerville/03-hibernate-30 +command: pm_check.py --log-level=notset /var/log/pm.py.hibernate.30.log +_description: Check logs for the stress suspend/resume (30 cycles) test case + +plugin: attachment +name: somerville/12-hibernate-30_check_log +depends: somerville/11-hibernate-30_check +command: + file=$CHECKBOX_DATA/pm_check.py.hibernate.30.log; if [ -e "$file" ]; then cat "$file"; fi + +plugin: shell +name: somerville/13-reboot-30_check +depends: somerville/05-reboot-30 +command: pm_check.py --log-level=notset /var/log/pm.py.reboot.30.log +_description: Check logs for the stress reboot (30 cycles) test case + +plugin: attachment +name: somerville/14-reboot-30_check_log +depends: somerville/13-reboot-30_check +command: + file=$CHECKBOX_DATA/pm_check.py.reboot.30.log; if [ -e "$file" ]; then cat "$file"; fi + +plugin: shell +name: somerville/15-poweroff-30_check +depends: somerville/07-poweroff-30 +command: pm_check.py --log-level=notset /var/log/pm.py.poweroff.30.log +_description: Check logs for the stress poweroff (30 cycles) test case + +plugin: attachment +name: somerville/16-poweroff-30_check_log +depends: somerville/15-poweroff-30_check +command: + file=$CHECKBOX_DATA/pm_check.py.poweroff.30.log; if [ -e "$file" ]; then cat "$file"; fi + +plugin: manual +name: somerville/Serial-Port-onboard +_description: + PURPOSE: + 1. To verify the on-board serial port driver is install correct. + STEPS: + 1. Install "minicom" on the test machine and client. + 2. Modify the /etc/init/tty1.conf then replace "38400 tty1" to "115200 ttyS0" on the test machine. + 3. Restart tty1 process. + 4. Use COM-to-USB cable to connect the test machine and client. + 5. Excute minicom on the test machine and client. + 6. Enter to the "Serial port setup", change the "Serial Device" to "/dev/ttyS0" on the test machine and "/dev/ttyUSB0" on the client. + 7. Go to "Exit" to enter the terminal mode. + VERIFICATION: + 1. Type some characters on the each device, the other side should see the characters. + NOTES: + 1. Install minicom "sudo apt-get install minicom". + 2. Restart tty process."sudo restart tty1". + 3. Excute the minicom setting "minicom -s". + +plugin: manual +name: somerville/EULA +_description: + PURPOSE: + 1. To validate that Dell EULA is present during oem-config + STEPS: + 1. Install the base image + VERIFICATION: + 1. Dell EULA should be present during oem-config + +plugin: manual +name: somerville/super-key-disabled +_description: + PURPOSE: + 1. To validate that the super key and any combinations with the super key is not in effect + STEPS: + 1. After installing the base image, click the super key, super + d, super + s, super + w, super + f and explore other combinations + VERIFICATION: + 1. There shouldn't be any response from the system after the keystroke. + +plugin: manual +name: somerville/4G-RAM-on-S4-feature +_description: + PURPOSE: + 1. To validate that when system is equipped with more than 4G of RAM, hibernate function is not available. + STEPS: + 1. Install the base image on a system with <4G RAM. Check the power menu. + 2. Install the base image on a system with >= 4G RAM. Check the power menu. + VERIFICATION: + 1. Hibernate should be available on the power menu. + 2. Hibernate should not be available on the power menu. + NOTES: + 1. System graphics might take some RAM space, but shouldn't affect the the physical 4G RAM criteria. + +plugin: manual +name: somerville/India-rupee-keyboard-layout +_description: + PURPOSE: + 1. To validate that the base image support India Rupee keyboard layout + STEPS: + 1. Install the base image and log in to desktop + 2. Open gedit, press right Alt + 4 + VERIFICATION: + 1. India Rupee symbol should appear + +plugin: manual +name: somerville/distro-upgrade-disable +_description: + PURPOSE: + 1. To validate the automatic distribution upgrade notification from update manager is disabled. + STEPS: + 1. (Work in progress) + VERIFICATION: + 1. There should not be any notification from the update manager. + +plugin: manual +name: somerville/Adobe-Flash-11 +_description: + PURPOSE: + 1. To validate that Adobe Flash 11 plugin for 64-bit OS is installed by default + STEPS: + 1. After install the image, log in to the desktop and open a web browser to watch videos on youtube.com + VERIFICATION: + 1. Videos should be displayed without prompting Adobe flash install. + NOTES: + 1. Assuming Adobe Flash is required on youtube.com and HTML5 is not enabled. + +plugin: manual +name: somerville/system-install-in-UEFI +_description: + PURPOSE: + 1. Verify that OS install is successfully using USB key/DVD in UEFI mode + STEPS: + 1. Create image recovery USB key and DVD + 2. Make sure the BIOS of SUT is in UEFI mode + 3. Install the system using USB key + 4. Install the system using DVD + VERIFICATION: + 1. Install should be successful + NOTES: + 1. System install needs to be checked per graphics config. Different recovery media install can be leveraged. I.e., it is not necessary to install via both USB and DVD. One is sufficient, but both media should be checked per platform. + +plugin: manual +name: somerville/swap-partition-in-UEFI +_description: + PURPOSE: + 1. Verify that swap partition is created properly when >2TB HDD and <4GB RAM are installed + STEPS: + 1. Install the system image on a system with >2TB HDD and with <4GB RAM. Make sure the BIOS is set in UEFI mode. + 2. After the install, check the swap partition size + VERIFICATION: + 1. The swap partition size should be around 4GB for 2GB RAM, or 2GB for 1GB RAM. + NOTES: + 1. This requires BIOS in UEFI mode. + +plugin: manual +name: somerville/ACPI-stress-in-UEFI +_description: + PURPOSE: + 1. Verify S3 and S4 work in UEFI mode with various graphics configs + STEPS: + 1. Install fwts and run 30 cycles of S3 and S4. + VERIFICATION: + 1. System should run 30 S3 and S4 without problems. + NOTES: + 1. Test result can be leveraged from sub-platforms. For example, if you have a dalmore-14 UMA and run ACPI stress on it in UEFI native mode, then we don't need to run UEFI native ACPI stress on the other UMA subplatforms like dalmore-15, etc. Given that there are interactions with graphics cards, we need to run for all graphics configs. + +plugin: local +name: somerville/nanjing +command: cat ${CPLAINBOX_PROVIDER_DATA}/../jobs/nanjing.txt* +_description: Somerville 11.10 Nanjing + +plugin: manual +name: somerville/suspend-on-battery-power +_description: + PURPOSE: + Verify system can enter suspend after idle for 30 minutes on battery power + STEPS: + 1. Boot into system + 2. Make sure system running on battery power + 3. Idle system for 10 minutes + 4. Idle system for another 20 minutes + VERIFICATION: + 1. System will turn screen off after 10 minutes + 2. System will enter suspend mode after 20 minutes + +plugin: manual +name: somerville/suspend-on-AC-power +_description: + PURPOSE: + Verify system can enter suspend after idle for 30 minutes on AC power + STEPS: + 1. Boot into system + 2. Make sure AC Power plugged + 3. Idle system for 10 minutes + 4. Idle system for another 20 minutes + VERIFICATION: + 1. System will turn screen off after 10 minutes + 2. System will enter suspend mode after 20 minutes + +plugin: manual +name: somerville/external-Displayport-playback +requires: + device.category == 'AUDIO' + package.name == 'python-gst0.10' +command: + gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink' +_description: + PURPOSE: + 1. Display Port audio interface verification + STEPS: + 1. Plug an external Display Port device with sound + 2. Open system sound preferences + 3. Click on Output and Select Display Port + 4. Run sound test + VERIFICATION: + 1. Did you hear a sound? + NOTES: + System cannot distinguish between HDMI and Display Port, so the Display Port might show up as HDMI + +plugin: manual +name: somerville/suspend-power-menu +_description: + PURPOSE: + 1. Suspend the System from Power Menu & Resume via Power Button + STEPS: + 1. Select the Power Icon in the upper right corner + 2. Choose suspend in the dropdown + 3. Wait a few seconds + 4. Resume the system via the Power Button + VERIFICATION: + 1. Did the system Suspend successfully? + 2. Did the system Resume via Power Button? + +plugin: manual +name: somerville/suspend-power-button +_description: + PURPOSE: + 1. Suspend and Resume the system via Power Button + STEPS: + 1. Press the Power Button. + 2. Choose suspend in the Menu + 3. Wait a few seconds + 4. Resume the system via the Power Button + VERIFICATION: + 1. Did the system Suspend successfully? + 2. Did the system Resume via Power Button? + +plugin: manual +name: somerville/external-linein +command: recording.py +_description: + PURPOSE: + 1. Check that external line in connection works correctly + STEPS: + 1. Use a cable to connect the line in port to an external line out source. + 2. Open system sound preferences, 'Input' tab, select 'Line-in' on the connector list. Click the Test button + 3. gnome-sound-recorder will be opened + 4. A three seconds clip will be recorded + 5. The recorded clip will be played + VERIFICATION: + 1. Did you hear your recording? + +plugin: manual +name: somerville/external-lineout +_description: + PURPOSE: + 1. Check that external line out connection works correctly + STEPS: + 1. Insert cable to speakers (with built-in amplifiers) on the line out port + 2. Open system sound preferences, 'Output' tab, select 'Line-out' on the connector list. Click the Test button + 3. On the system sound preferences, select 'Internal Audio' on the device list and click 'Test Speakers' to check left and right channel + VERIFICATION: + 1. Do you hear a sound in the speakers? The internal speakers should *not* be muted automatically + 2. Do you hear the sound coming out on the corresponding channel? + +plugin: shell +name: somerville/dell-repository +command: + sources_test /etc/apt/sources.list.d/precise-dell.list "deb http://dell.archive.canonical.com/updates/ precise-dell public" +_description: Check Dell repository + +plugin: manual +name: somerville/Unity-mode-default3d +command: bash ${CPLAINBOX_PROVIDER_DATA}/../scripts/unity_2d3d_check +_description: + PURPOSE: + 1. Check if default desktop session is set to 3D + STEPS: + 1. Make sure you are logged in to the default desktop session + 2. Press Test button to run 2D/3D check + VERIFICATION: + 1. Output of test result should say user is logged into "ubuntu" session (3D mode) + 2. Output of test result should say session is running in "ubuntu" (3D mode) + 3. Output of test result should say that the expected and actual running session MATCHES + +plugin: manual +name: somerville/Unity-mode-2d +command: bash ${CPLAINBOX_PROVIDER_DATA}/../scripts/unity_2d3d_check +_description: + PURPOSE: + 1. Check if 2D desktop session is correctly set + STEPS: + 1. Log out of the current desktop session + 2. Log in to 2D desktop session + 3. Press Test button to run 2D/3D check + VERIFICATION: + 1. Output of test result should say user is logged into "ubuntu-2d" session (2D mode) + 2. Output of test result should say session is running in "ubuntu-2d" (2D mode) + 3. Output of test result should say that the expected and actual running session MATCHES + +plugin: manual +name: somerville/amd-graphics-mode-default-value +requires: package.name == 'fglrx' +command: aticonfig --px-list-active-gpu +_description: + PURPOSE: + 1. Check AMD graphics default mode settings. (Skip test if config is Intel or NVIDIA graphics) + STEPS: + 1. Verify and check the default output mode. + VERIFICATION: + $output + NOTES: + 1.Need to base on the PM/Engineer define for default settings to verify this test case with Yes or No result. + 2.Please also list the current graphics mode into Further information. + |
