Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions providers/base/units/keys/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,17 @@ _steps:
2. Press the Fn+any hotkey.
_verification:
Do the keys work as expected?

plugin: manual
category_id: com.canonical.plainbox::keys
id: keys/power-button-suspend
estimated_duration: 5.0
_purpose:
Verify the system can enter suspend and resume via the power button.
_steps:
1. Set the Power Button Behavior to Suspend in power settings
2. Press the power button
3. Wait a few seconds
4. Resume the system by pressing the power button again
_verification:
The system enters and resumes from suspend when the power button is pressed.
1 change: 1 addition & 0 deletions providers/base/units/keys/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ include:
keys/power-button certification-status=blocker
keys/power-button-event certification-status=blocker
keys/fn-lock certification-status=non-blocker
keys/power-button-suspend certification-status=blocker

id: keys-cert-automated
unit: test plan
Expand Down
65 changes: 65 additions & 0 deletions providers/base/units/miscellanea/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -567,3 +567,68 @@ requires:
cpuinfo.platform in ("x86_64", "aarch64", "armhf")
bootloader.name == "grub"
command: grub_file_check.sh

plugin: manual
category_id: com.canonical.plainbox::miscellanea
id: miscellanea/wallpaper
estimated_duration: 5.0
_purpose:
Verify that the system has a wallpaper displayed.
_steps:
1. Check the wallpaper in the desktop session
_verification:
1. The expected wallpaper is visible on the desktop background.

plugin: manual
category_id: com.canonical.plainbox::miscellanea
id: miscellanea/document
estimated_duration: 15.0
_purpose:
Verify that the system includes the manufacturer-provided user guide.
_steps:
1. Locate and open the manufacturer’s user guide in the operating system
2. Check that the user guide contains tabs, links, and relevant information
_verification:
1. The user guide opens correctly with accessible tabs and links.

plugin: manual
category_id: com.canonical.plainbox::miscellanea
id: miscellanea/parental-controls
estimated_duration: 10.0
_purpose:
Validate that Parental Controls restrict applications for a non-admin user.
_steps:
1. Create a non-admin account.
2. Open Parental Controls in application tab
3. Enable "Restrict Web Browsers"
4. Select and enable restrictions for at least one additional application under "Restrict Applications"
5. Log out from the Admin account and log in as the Standard user
6. Attempt to launch each restricted application
_verification:
1. Confirm that the standard user cannot launch any of the restricted applications.

plugin: manual
category_id: com.canonical.plainbox::miscellanea
id: miscellanea/operation-system-installation
estimated_duration: 30.0
_purpose:
Verify that the operating system can be installed successfully.
_steps:
1. Prepare a USB key with the installation image
2. Follow the installation steps
3. Boot into the installed operating system without errors
_verification:
1. The system boots into the operating system successfully after installation.

plugin: manual
category_id: com.canonical.plainbox::miscellanea
id: miscellanea/factory-recovery
estimated_duration: 30.0
_purpose:
Verify that the factory recovery can be restored successfully.
_steps:
1. Perform the factory recovery process
2. Follow the on-screen recovery steps
3. Boot into the recovered system without errors
_verification:
1. The system boots into the factory recovery system successfully.
5 changes: 5 additions & 0 deletions providers/base/units/miscellanea/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ _name: Miscellaneous client tests (Manual)
_description:
Miscellaneous client tests (fwts, dmi, oops) (Manual)
include:
miscellanea/wallpaper
miscellanea/document
miscellanea/parental-controls
miscellanea/operation-system-installation certification-status=blocker
miscellanea/factory-recovery certification-status=blocker
nested_part:


Expand Down
17 changes: 17 additions & 0 deletions providers/base/units/networking/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,20 @@ requires:
{%- else %}
lsb.release >= '18'
{% endif -%}

plugin: manual
category_id: com.canonical.plainbox::networking
id: networking/airplane-mode
imports: from com.canonical.plainbox import manifest
requires:
manifest.has_airplane_mode == 'True'
flags: also-after-suspend
_purpose:
Verify that the airplane mode function works correctly.
_steps:
1. Enable the Airplane Mode in Wi-Fi settings
2. Confirm that Wi-Fi, Bluetooth, and WWAN radio devices are disabled
3. Disable the Airplane Mode in Wi-Fi settings
_verification:
1. All connections are correctly disabled after enabling Airplane Mode.
2. All connections are correctly re-established after disabling Airplane Mode.
4 changes: 4 additions & 0 deletions providers/base/units/networking/manifest.pxu
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
unit: manifest entry
id: has_airplane_mode
_name: Airplane Mode Support
value-type: bool
2 changes: 2 additions & 0 deletions providers/base/units/networking/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ _name: Networking tests (manual)
_description: Networking tests (manual)
include:
networking/info_device.* certification-status=blocker
networking/airplane-mode certification-status=blocker
bootstrap_include:
device
executable
Expand Down Expand Up @@ -92,6 +93,7 @@ _name: Manual networking tests for devices (after suspend)
_description: Manual networking tests for devices (after suspend)
include:
after-suspend-networking/info_device.* certification-status=blocker
after-suspend-networking/airplane-mode certification-status=blocker
bootstrap_include:
device
executable
Expand Down
34 changes: 34 additions & 0 deletions providers/base/units/power-management/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -577,3 +577,37 @@ summary:
description:
The AMD PMF driver should be loaded while the BIOS enabling this function and could be validated by
the outcome of lsmod automatically.

plugin: manual
category_id: com.canonical.plainbox::power-management
id: power-management/suspend-on-battery-power
imports: from com.canonical.plainbox import manifest
requires:
manifest.has_dc_mode == 'True'
estimated_duration: 20.0
_purpose:
Verify the system can enter suspend being idle for 15 minutes on battery power.
_steps:
1. Boot into system
2. Remove AC power
3. Make sure system running on battery power
4. Set Screen Blank for 1 minute in power settings
5. Enable "On Battery Power" under Automatic Suspend with a delay of 15 minutes
_verification:
The system turns the screen off after 1 minute of idle.
The system enters suspend mode after 15 minutes of idle.

plugin: manual
category_id: com.canonical.plainbox::power-management
id: power-management/suspend-on-AC-power
estimated_duration: 20.0
_purpose:
Verify the system can enter suspend being idle for 15 minutes on AC power.
_steps:
1. Boot into system
2. Make sure system running on AC power
3. Set Screen Blank for 1 minute in power settings
4. Enable "Plugged In" under Automatic Suspend with a delay of 15 minutes
_verification:
The system turns the screen off after 1 minute of idle.
The system enters suspend mode after 15 minutes of idle.
5 changes: 5 additions & 0 deletions providers/base/units/power-management/manifest.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ unit: manifest entry
id: has_amd_pmf
_name: AMD PMF (Platform Management Framework) support
value-type: bool

unit: manifest entry
id: has_dc_mode
_name: Battery Power Support
value-type: bool
4 changes: 3 additions & 1 deletion providers/base/units/power-management/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ unit: test plan
_name: Power Management precheck tests (Manual)
_description: Power Management precheck tests (Manual)
include:
power-management/suspend-on-battery-power certification-status=blocker
power-management/suspend-on-AC-power certification-status=blocker

id: power-management-precheck-cert-automated
unit: test plan
Expand All @@ -44,7 +46,7 @@ include:

id: power-management-reboot-poweroff-cert-manual
unit: test plan
_name: Power Management reboot and power off tests (Manual
_name: Power Management reboot and power off tests (Manual)
_description: Power Management reboot and power off tests (Manual)
include:

Expand Down
Loading