diff options
| author | Gene Li <gene.li@canonical.com> | 2020-04-24 15:24:32 +0800 |
|---|---|---|
| committer | Gene Li <gene.li@canonical.com> | 2020-04-24 15:24:32 +0800 |
| commit | a2a4289491afac76cc80c91bbf71dc847c061249 (patch) | |
| tree | 5366504bf053d7d8a14c2eef74c4b9d84ac68397 /jobs/stella | |
| parent | 9190548134a679f986ac8c43a3942ddc6f208d64 (diff) | |
somerville-stella-20.04-test-case-update
Diffstat (limited to 'jobs/stella')
| -rw-r--r-- | jobs/stella/energy-star-compliant.txt.in | 40 | ||||
| -rw-r--r-- | jobs/stella/hp-particular.txt.in | 28 | ||||
| -rw-r--r-- | jobs/stella/power-management.txt.in | 9 | ||||
| -rw-r--r-- | jobs/stella/stella.txt.in | 130 |
4 files changed, 139 insertions, 68 deletions
diff --git a/jobs/stella/energy-star-compliant.txt.in b/jobs/stella/energy-star-compliant.txt.in deleted file mode 100644 index 5b11819..0000000 --- a/jobs/stella/energy-star-compliant.txt.in +++ /dev/null @@ -1,40 +0,0 @@ -plugin: manual -id: stella/energy-star-compliant-NB/suspend-on-battery-power -category_id: stella -_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 -category_id: stella -_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 -category_id: stella -_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/hp-particular.txt.in b/jobs/stella/hp-particular.txt.in index 5d6c5fa..5ff9082 100644 --- a/jobs/stella/hp-particular.txt.in +++ b/jobs/stella/hp-particular.txt.in @@ -1,17 +1,3 @@ -plugin: manual -id: stella/hp-particular/hp-documents -category_id: stella -_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: user-interact-verify id: stella/hp-particular/build_valid_check category_id: stella @@ -35,17 +21,3 @@ category_id: stella command: ciic _summary: Collect installed information for Stella project _description: Collect installed information for Stella project - -plugin: manual -id: stella/hp-particular/hp-wallpaper -category_id: stella -_purpose: - Verify HP wallpaper is correctly displayed -_steps: - 1. Check the wallpaper in desktop session - 2. Log out of session, check wallpaper in log-in screen - 3. Log back into desktop session and let system enter s3 - 4. Wake system from s3 and check lock screen wallpaper -_verification: - 1. If system is CMIT/WGBU machine, HP wallpaper should be shown in desktop, log-in screen and lock screen - 2. If system is cNB/vDT machine, Ubuntu wallpaper should be shown in desktop, log-in screen and lock screen diff --git a/jobs/stella/power-management.txt.in b/jobs/stella/power-management.txt.in new file mode 100644 index 0000000..92eb7a2 --- /dev/null +++ b/jobs/stella/power-management.txt.in @@ -0,0 +1,9 @@ +id: power-management-s +unit: test plan +_name: Stella power management test +_description: Stella power management test +include: + stella/suspend-power-menu + stella/suspend-power-button + stella/suspend-on-battery-power + stella/suspend-on-AC-power diff --git a/jobs/stella/stella.txt.in b/jobs/stella/stella.txt.in index 46d73d6..76f50bf 100644 --- a/jobs/stella/stella.txt.in +++ b/jobs/stella/stella.txt.in @@ -8,3 +8,133 @@ plugin: shell command: desktop-kpi-dashboard-check.sh stella _description: Check oem image desktop KPI dashboard information + +plugin: manual +id: stella/suspend-on-battery-power +category_id: stella +_description: + PURPOSE: + Verify system can enter suspend after idle for 20 minutes on battery power + STEPS: + 1. Boot into system + 2. Make sure system running on battery power + 3. Idle system for 5 minutes + 4. Idle system for another 20 minutes + VERIFICATION: + 1. System will turn screen off after 5 minutes + 2. System will enter suspend mode after 20 minutes + +plugin: manual +id: stella/suspend-on-AC-power +category_id: stella +_description: + PURPOSE: + Verify system can enter suspend after idle for 20 minutes on AC power + STEPS: + 1. Boot into system + 2. Make sure AC Power plugged + 3. Idle system for 5 minutes + 4. Idle system for another 20 minutes + VERIFICATION: + 1. System will turn screen off after 5 minutes + 2. System will enter suspend mode after 20 minutes + +plugin: manual +id: stella/hp-documents +category_id: stella +_description: + PURPOSE: + Verify HP documents is available + STEPS: + 1. Click HP Documents icon on Nautilus + VERIFICATION: + 1. HP User Guides can be performed on browser Firefox + 2. Check language of HP User Guides is correct + +plugin: manual +id: stella/hp-wallpaper +category_id: stella +_purpose: + Verify HP wallpaper is correctly displayed +_steps: + 1. Check the wallpaper in desktop session + 2. Log out of session, check wallpaper in log-in screen + 3. Log back into desktop session and let system enter s3 + 4. Wake system from s3 and check lock screen wallpaper +_verification: + 1. If system is CMIT/WGBU machine, HP wallpaper should be shown in desktop, log-in screen and lock screen + +id: stella/suspend-power-menu +category_id: stella +plugin: manual +_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? + +id: stella/suspend-power-button +category_id: stella +plugin: manual +_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? + +id: stella/fingerprint-login +category_id: stella +plugin: manual +_purpose: + This test will verify that a fingerprint reader will work properly for logging into your system. +_steps: + Skip this test if your system does not have fingerprint. + 1. In System Settings->Users, select the "Fingerprint Login". + 2. Select a finger on the list then click "Next". + 3. Follow the steps to put your finger on the finger printer multiple times until it shows "Done!". + 4. Click "Next" then close the setup window. + 5. Logout user from top-right menu. + 6. Select user name on the login screen. + 7. Put your enrolled finger on the finger printer. +_verification: + Did the authentication procedure work correctly? + +id: stella/fingerprint-negative +category_id: stella +plugin: manual +_purpose: + This test will verify that a fingerprint reader will reject when use wrong finger to logging into your system. +_steps: + Skip this test if your system does not have fingerprint. + 1. Lock screen from top-right menu. + 2. Press any key to unlock screen. + 3. Put your unenrolled finger on the finger printer. +_verification: + Did the authentication failed and can't login? + +id: stella/fingerprint-positive +category_id: stella +plugin: manual +_purpose: + This test will verify that a fingerprint reader still work properly when use wrong finger to logging into your system. +_steps: + Skip this test if your system does not have fingerprint. + 1. Lock screen from top-right menu. + 2. Press any key to unlock screen. + 3. Put your unenrolled finger on the finger printer. + 4. Put your enrolled finger on the finger printer. +_verification: + Did the authentication procedure still work correctly? + |
