summaryrefslogtreecommitdiff
path: root/jobs/stella
diff options
authorAlbert Zhang <albert.zhang@canonical.com>2014-04-21 21:10:27 +0800
committerAlbert Zhang <albert.zhang@canonical.com>2014-04-21 21:10:27 +0800
commitf4547b79a62f675d563c9653a808f9df5ce53921 (patch)
tree292dddb65b8d7d6c13d5e75ebfc9eedbd4ef6a17 /jobs/stella
parentefe8986f88fb6d5b5eeb05b6e8e253113ed3a20f (diff)
Add stella test cases
Diffstat (limited to 'jobs/stella')
-rw-r--r--jobs/stella/Enable-Disable-In-Active-For-Stress.txt.in24
-rw-r--r--jobs/stella/New-test.txt.in12
-rw-r--r--jobs/stella/account.txt.in17
-rw-r--r--jobs/stella/energy-star-compliant.txt.in37
-rw-r--r--jobs/stella/hotkeys.txt.in10
-rw-r--r--jobs/stella/hp-particular.txt.in27
-rw-r--r--jobs/stella/recovery.txt.in76
-rw-r--r--jobs/stella/third-party-addon.txt.in55
-rw-r--r--jobs/stella/vdt-sourcelist.txt.in35
-rw-r--r--jobs/stella/vnb-sourcelist.txt.in41
10 files changed, 334 insertions, 0 deletions
diff --git a/jobs/stella/Enable-Disable-In-Active-For-Stress.txt.in b/jobs/stella/Enable-Disable-In-Active-For-Stress.txt.in
new file mode 100644
index 0000000..2177b8d
--- /dev/null
+++ b/jobs/stella/Enable-Disable-In-Active-For-Stress.txt.in
@@ -0,0 +1,24 @@
+plugin: shell
+id: stella/Enable-Disable-In-Active-Sleep-For-Stress/Disable-In-Active-AC
+command:
+ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing
+_description: To disable In-Active in AC mode
+
+plugin: shell
+id: stella/Enable-Disable-In-Active-Sleep-For-Stress/Disable-In-Active-Battery
+command:
+ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type nothing
+_description: To disable In-Active in battery mode
+
+plugin: shell
+id: stella/Enable-Disable-In-Active-Sleep-For-Stress/Enable-In-Active-AC
+command:
+ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type suspend
+_description: To enable In-Active in AC mode
+
+plugin: shell
+id: stella/Enable-Disable-In-Active-Sleep-For-Stress/Enable-In-Active-Battery
+command:
+ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type suspend
+_description: To enable In-Active in battery mode
+
diff --git a/jobs/stella/New-test.txt.in b/jobs/stella/New-test.txt.in
new file mode 100644
index 0000000..aa28afd
--- /dev/null
+++ b/jobs/stella/New-test.txt.in
@@ -0,0 +1,12 @@
+plugin: manual
+id: stella/hotkeys/new_job_1
+_description:
+ PURPOSE:
+ 1. (Write here test purpose)
+ STEPS:
+ 1. (Write here test execution procedure step by step)
+ VERIFICATION:
+ 1. (Write here test verification procedure step by step)
+ NOTES:
+ 1. (Add here optional notes or remove the whole section)
+
diff --git a/jobs/stella/account.txt.in b/jobs/stella/account.txt.in
new file mode 100644
index 0000000..4a51b3d
--- /dev/null
+++ b/jobs/stella/account.txt.in
@@ -0,0 +1,17 @@
+plugin: manual
+id: stella/account/switch-to-guest-session
+_description:
+ PURPOSE:
+ 1. To verify change user session function
+ 2. Use guest for varification
+ STEPS:
+ 1. Click user menu in the top bar
+ 2. Select "Guest Session"
+ 3. Check if user menu shows as "Guest"
+ 4. Log out "Guess Session".
+ 5. Log in with previous user id (usually as u)
+ 6. Check if user menu showes the user id (usually as u) correctly
+ VERIFICATION:
+ 1. Switch to guest user session successful in step 3
+ 2. Switch back user u successful in step 6
+
diff --git a/jobs/stella/energy-star-compliant.txt.in b/jobs/stella/energy-star-compliant.txt.in
new file mode 100644
index 0000000..231db2d
--- /dev/null
+++ b/jobs/stella/energy-star-compliant.txt.in
@@ -0,0 +1,37 @@
+plugin: manual
+id: stella/energy-star-compliant-NB/suspend-on-battery-power
+_description:
+ PURPOSE:
+ Verify system can enter suspend after idle for 10 minutes on battery power
+ STEPS:
+ 1. Boot into system
+ 2. Make sure system running on battery power
+ 3. Idle system for 10 minutes
+ VERIFICATION:
+ System will turn off blacklight and suspend after 10 minutes
+
+plugin: manual
+id: stella/energy-star-compliant-NB/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 30 minutes
+ VERIFICATION:
+ System will turn off blacklight after 10 minutes first and then go to suspend after 20 minutes. (Total 30 minutes)
+
+plugin: manual
+id: stella/energy-star-compliant-DT/suspend-when-inactive
+_description:
+ PURPOSE:
+ Verify system can enter suspend after idle for 20 minutes on AC power
+ STEPS:
+ 1. Boot into system
+ 2. Idle system for 10 minutes
+ 3. Idle system for another 10 minutes
+ VERIFICATION:
+ 1. System will turn off blacklight after 10 minutes
+ 2. System will enter suspend mode after 20 minutes
+
diff --git a/jobs/stella/hotkeys.txt.in b/jobs/stella/hotkeys.txt.in
new file mode 100644
index 0000000..35631a4
--- /dev/null
+++ b/jobs/stella/hotkeys.txt.in
@@ -0,0 +1,10 @@
+plugin: manual
+id: stella/hotkeys/help
+_description:
+ PURPOSE:
+ Th‎is test will test hotkey F1 for "Ubuntu Desktop Guide"
+ STEPS:
+ Press F1
+ VERIFICATION:
+ Verify "Ubuntu Desktop Guide" is launched
+
diff --git a/jobs/stella/hp-particular.txt.in b/jobs/stella/hp-particular.txt.in
new file mode 100644
index 0000000..776369f
--- /dev/null
+++ b/jobs/stella/hp-particular.txt.in
@@ -0,0 +1,27 @@
+plugin: manual
+id: stella/hp-particular/hp-documents
+_description:
+ PURPOSE:
+ Verify HP documents is available
+ STEPS:
+ 1. Double click HP Documents icon on desktop
+ 2. Click HP Documents icon on Nautilus
+ VERIFICATION:
+ 1. HP User Guides can be performed on browser Firefox both for the icons on desktop and Nautilus.
+ 2. There should be two tabs on Firefox and perform HP User Guides
+ 3. Check language of HP User Guides is correct
+
+plugin: manual
+id: stella/hp-particular/build_valid_check
+command: bash ${CHECKBOX_SHARE}/scripts/stella_compatibilityChecker -r
+_description:
+ PURPOSE:
+ Verify build notification
+ STEPS:
+ 1. Please connect to 10.101.47.X intranet
+ 2. Press test button
+ VERIFICATION:
+ 1. Pop-up widonws will tell the build status of the machine
+ 2. If it is "Unsupported Hardware", you should find the notification "Unsupported Hardware" on the right of top cornner every 15 seconds and keep on screen for 10 seconds
+ 3. If it is "Development Version", you should find the notification "Development Version" on the right of top cornner every one minute and keep on screen for 3 seconds
+ 4. If it is "Release Version", there should be no notification
diff --git a/jobs/stella/recovery.txt.in b/jobs/stella/recovery.txt.in
new file mode 100644
index 0000000..a41db95
--- /dev/null
+++ b/jobs/stella/recovery.txt.in
@@ -0,0 +1,76 @@
+plugin: manual
+id: stella/recovery/recovery-launch-in-legacy
+_description:
+ PURPOSE:
+ Verify press F11 key can launch system recovery in Legacy mode
+ STEPS:
+ 1. Power system or Reboot system
+ 2. Press F11 key during while system booting up
+ VERIFICATION:
+ System can enter Recovery mode
+
+plugin: manual
+id: stella/recovery/recovery-system-in-legacy
+_description:
+ PURPOSE:
+ Verify system recovery can be completed without problem in Legacy mode
+ STEPS:
+ 1. Press F11 key to enter recovery mode
+ 2. Follow the steps to perform system recovery
+ VERIFICATION:
+ System recovery can be completed without problem
+
+plugin: manual
+id: stella/recovery/cancel-system-recovery-in-legacy
+_description:
+ PURPOSE:
+ Verify system still can enter recovery mode after recovery system be cancelled in Legacy mode
+ STEPS:
+ 1. Press F11 key to enter recovery mode
+ 2. Follow the steps to perform system recovery
+ 3. Power off the system during system recoverying
+ 4. Power on system again
+ 5. Press F11 key to enter recovery mode
+ VERIFICATION:
+ System can enter recovery mode without problem
+ NOTES:
+ This test is to make sure recovery partition won't be crashed while power loss during recoverying
+
+plugin: manual
+id: stella/recovery/recovery-launch-in-UEFI
+_description:
+ PURPOSE:
+ Verify press F11 key can launch system recovery in UEFI mode
+ STEPS:
+ 1. Power system or Reboot system
+ 2. Press F11 key during while system booting up
+ VERIFICATION:
+ System can enter Recovery mode
+
+plugin: manual
+id: stella/recovery/recovery-system-in-UEFI
+_description:
+ PURPOSE:
+ Verify system recovery can be completed without problem in UEFI mode
+ STEPS:
+ 1. Press F11 key to enter recovery mode
+ 2. Follow the steps to perform system recovery
+ VERIFICATION:
+ System recovery can be completed without problem
+
+plugin: manual
+id: stella/recovery/cancel-system-recovery-in-UEFI
+_description:
+ PURPOSE:
+ Verify system still can enter recovery mode after recovery system be cancelled in UEFI mode
+ STEPS:
+ 1. Press F11 key to enter recovery mode
+ 2. Follow the steps to perform system recovery
+ 3. Power off the system during system recoverying
+ 4. Power on system again
+ 5. Press F11 key to enter recovery mode
+ VERIFICATION:
+ System can enter recovery mode without problem
+ NOTES:
+ This test is to make sure recovery partition won't be crashed while power loss during recoverying
+
diff --git a/jobs/stella/third-party-addon.txt.in b/jobs/stella/third-party-addon.txt.in
new file mode 100644
index 0000000..6f2cf51
--- /dev/null
+++ b/jobs/stella/third-party-addon.txt.in
@@ -0,0 +1,55 @@
+plugin: manual
+id: stella/third-party-addon/Adobe-flash
+command: xdg-open http://www.adobe.com/tw/support/flashplayer/ts/documents/tn_15507.htm
+_description:
+ PURPOSE:
+ To validate that Adobe Flash plugin is installed by default
+ STEPS:
+ Press Test button
+ VERIFICATION:
+ The website will let you know that Adobe-flash is intalled or not.
+
+plugin: manual
+id: stella/third-party-addon/Java
+_description:
+ PURPOSE:
+ 1. To validate that Java runtime plugin is installed by default
+ STEPS:
+ 1. Boot into system
+ 2. Open a web browser and browse to http://www.java.com/en/download/installed.jsp?detect=jre&try=1
+ VERIFICATION:
+ The page should refresh and display your environment within 10-60 sec.
+
+plugin: shell
+id: stella/third-party-addon/check-mp3-codec-installed
+command:
+ if [ "`dpkg -L gstreamer0.10-fluendo-mp3 | grep gstreamer0.10-fluendo-mp3`" ]; then echo "gstreamer0.10-fluendo-mp3 is existed"; exit 0; else echo "gstreamer0.10-fluendo-mp3 is not existed"; exit 1; fi
+_description: Check fluendo mp3 codec is installed in system
+
+plugin: manual
+id: stella/third-party-addon/check-Hanyi-font-installed
+command:
+ if [ "`dpkg -L ttf-hanyi | grep ttf-hanyi`" ]; then echo "ttf-hanyi is existed"; exit 0; else echo "ttf-hanyi is not existed"; exit 1; fi
+_description:
+ PURPOSE:
+ Check Hanyi-font is installed in system
+ STEPS:
+ 1. Press test button
+ VERIFICATION:
+ The verification of this test is automated. Do not change the
+ automatically selected result.
+
+plugin: manual
+id: stella/third-party-addon/Unity-mode-default3d
+command: bash ${CHECKBOX_SHARE}/scripts/stella_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
+
diff --git a/jobs/stella/vdt-sourcelist.txt.in b/jobs/stella/vdt-sourcelist.txt.in
new file mode 100644
index 0000000..a2a13f7
--- /dev/null
+++ b/jobs/stella/vdt-sourcelist.txt.in
@@ -0,0 +1,35 @@
+plugin: shell
+id: stella/vdt-sourcelist/nagoya-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-stella-nagoya.list "deb http://hp.archive.canonical.com/updates precise-stella-nagoya public"
+_description: Check Nagoya repository
+
+plugin: shell
+id: stella/vdt-sourcelist/oem-sp1-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-oem-sp1.list "deb http://oem.archive.canonical.com/updates/ precise-oem-sp1 public"
+_description: Check OEM SP1 repository
+
+plugin: shell
+id: stella/vdt-sourcelist/dali-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-stella-dali.list "deb http://hp.archive.canonical.com/updates precise-stella-dali public"
+_description: Check Dali repository
+
+plugin: shell
+id: stella/vdt-sourcelist/fuli-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-stella-fuli.list "deb http://hp.archive.canonical.com/updates precise-stella-fuli public"
+_description: Check Fuli repository
+
+plugin: shell
+id: stella/vdt-sourcelist/oem-sp2-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-oem-sp2.list "deb http://oem.archive.canonical.com/updates/ precise-oem-sp2 public"
+_description: Check OEM SP2 repository
+
+plugin: shell
+id: stella/vdt-sourcelist/jiali-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-stella-jiali.list "deb http://hp.archive.canonical.com/updates precise-stella-jiali public"
+_description: Check Jiali repository
diff --git a/jobs/stella/vnb-sourcelist.txt.in b/jobs/stella/vnb-sourcelist.txt.in
new file mode 100644
index 0000000..9c5a5f9
--- /dev/null
+++ b/jobs/stella/vnb-sourcelist.txt.in
@@ -0,0 +1,41 @@
+plugin: shell
+id: stella/vnb-sourcelist/anaheim-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-stella-anaheim.list "deb http://hp.archive.canonical.com/updates precise-stella-anaheim public"
+_description: Check Anaheim repository
+
+plugin: shell
+id: stella/vnb-sourcelist/oem-sp1-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-oem-sp1.list "deb http://oem.archive.canonical.com/updates/ precise-oem-sp1 public"
+_description: Check OEM SP1 repository
+
+plugin: shell
+id: stella/vnb-sourcelist/puli-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-stella-puli.list "deb http://hp.archive.canonical.com/updates precise-stella-puli public"
+_description: Check Puli repository
+
+plugin: shell
+id: stella/vnb-sourcelist/yuli-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-stella-yuli.list "deb http://hp.archive.canonical.com/updates precise-stella-yuli public"
+_description: Check Yuli repository
+
+plugin: shell
+id: stella/vnb-sourcelist/yuanli-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-stella-yuanli.list "deb http://hp.archive.canonical.com/updates precise-stella-yuanli public"
+_description: Check Yuanli repository
+
+plugin: shell
+id: stella/vnb-sourcelist/oem-sp2-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-oem-sp2.list "deb http://oem.archive.canonical.com/updates/ precise-oem-sp2 public"
+_description: Check OEM SP2 repository
+
+plugin: shell
+id: stella/vnb-sourcelist/daan-repository
+command:
+ sources_test /etc/apt/sources.list.d/precise-stella-daan.list "deb http://hp.archive.canonical.com/updates precise-stella-daan public"
+_description: Check Daan repository