diff options
author | ray.chen <ray.chen@canonical.com> | 2019-06-11 16:55:03 +0800 |
---|---|---|
committer | ray.chen <ray.chen@canonical.com> | 2019-06-11 17:03:03 +0800 |
commit | d79da1fc3f40fa9fcddb09ce4c1703fe900c491c (patch) | |
tree | 025129b26dcf2127b56db6a0229b29d6344c58e1 /units | |
parent | 0b58a3998676933d2283ec5497f0fed56ca942de (diff) |
monitor: add missing job for type-c tests
Job was missing and need to add: monitor/{index}_type-c_hdmi_.* monitor/{index}_type-c_vga_.*
Diffstat (limited to 'units')
-rw-r--r-- | units/monitor/jobs.pxu | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/units/monitor/jobs.pxu b/units/monitor/jobs.pxu index 64f902d..54a86c9 100644 --- a/units/monitor/jobs.pxu +++ b/units/monitor/jobs.pxu @@ -230,6 +230,50 @@ _verification: Was the desktop displayed correctly with {vendor} {product} on the screen connected using a "USB Type-C to DisplayPort" adapter in every mode? +unit: template +template-resource: graphics_card +id: monitor/{index}_type-c_hdmi_{product_slug} +template-filter: graphics_card.prime_gpu_offload == 'Off' +imports: from com.canonical.plainbox import manifest +requires: manifest.has_usb_type_c == 'True' +flags: also-after-suspend-manual +estimated_duration: 15.0 +plugin: manual +category_id: com.canonical.plainbox::monitor +_summary: Display connected via HDMI using an USB Type-C port for {vendor} {product} +_purpose: + This test will check the connection of a screen using a "USB Type-C to HDMI" adapter for {vendor} {product}. +_steps: + 1. Connect a display (if not already connected) to the USB Type-C port on + your system using a "USB Type-C to HDMI" adapter + 2. Switch display modes between in your Display Settings, check if it can be + set to mirrored, extended, displayed on external or onboard only +_verification: + Was the desktop displayed correctly with {vendor} {product} on the screen + connected using a "USB Type-C to HDMI" adapter in every mode? + +unit: template +template-resource: graphics_card +id: monitor/{index}_type-c_vga_{product_slug} +template-filter: graphics_card.prime_gpu_offload == 'Off' +imports: from com.canonical.plainbox import manifest +requires: manifest.has_usb_type_c == 'True' +flags: also-after-suspend-manual +estimated_duration: 15.0 +plugin: manual +category_id: com.canonical.plainbox::monitor +_summary: Display connected via VGA using an USB Type-C port for {vendor} {product} +_purpose: + This test will check the connection of a screen using a "USB Type-C to VGA" adapter for {vendor} {product}. +_steps: + 1. Connect a display (if not already connected) to the USB Type-C port on + your system using a "USB Type-C to VGA" adapter + 2. Switch display modes between in your Display Settings, check if it can be + set to mirrored, extended, displayed on external or onboard only +_verification: + Was the desktop displayed correctly with {vendor} {product} on the screen + connected using a "USB Type-C to VGA" adapter in every mode? + id: monitor/type-c-to-hdmi imports: from com.canonical.plainbox import manifest requires: manifest.has_usb_type_c == 'True' |