summaryrefslogtreecommitdiff
diff options
authorGene Li <gene.li@canonical.com>2020-06-08 15:14:56 +0800
committerGene Li <gene.li@canonical.com>2020-06-08 15:14:56 +0800
commitb67efa69f60b4c961579db260f0f8724ee96e808 (patch)
tree47c81165835cfe3edea856e4e18f760dd0c0b598
parent078485c68547aacdcbc49afb7cd3f3b4f0e859b7 (diff)
Add dock test case for check all IO port at same time
-rw-r--r--units/dock/jobs.pxu88
-rw-r--r--units/dock/test-plan.pxu5
2 files changed, 93 insertions, 0 deletions
diff --git a/units/dock/jobs.pxu b/units/dock/jobs.pxu
index 49876d83..b6a2cc4d 100644
--- a/units/dock/jobs.pxu
+++ b/units/dock/jobs.pxu
@@ -2299,3 +2299,91 @@ _description: Check dock MAC address pass-through function, please make sure fol
1. Pass-through mac address is flashed in BIOS
2. MAC address pass-through is enabled in BIOS settings
3. Dock is connected
+
+id: dock/all-initial
+category_id: dock
+plugin: manual
+estimated_duration: 300.00
+_description:
+ PURPOSE:
+ This test is to setup the initial stauts for all I/O port on docking
+ STEPS:
+ 1. If the laptop is currently undocked, dock it now.
+ 2. Connect a DP monitor.
+ 3. Connect a Type-C to HDMI monitor.
+ 4. Connect a TB3 storage.
+ 5. Connect a Type-C storage.
+ 6. Connect a USB3.0 storage.
+ 7. Connect a headset.
+ 8. Connect a Ethernet cable.
+ VERIFICATION:
+ 1. Did the display works fine?
+ 2. Did the storage works fine?
+ 3. Did the audio works fine?
+ 4. Did the network works fine?
+
+id: dock/all-reboot
+category_id: dock
+plugin: manual
+estimated_duration: 300.00
+_description:
+ PURPOSE:
+ This test is to test devices still working after reboot
+ STEPS:
+ Reboot the system.
+ VERIFICATION:
+ 1. Did the display works fine after reboot?
+ 2. Did the storage works fine after reboot?
+ 3. Did the audio works fine after reboot?
+ 4. Did the network works fine after reboot?
+
+id: dock/all-hotplug
+category_id: dock
+plugin: manual
+estimated_duration: 300.00
+_description:
+ PURPOSE:
+ This test is to test devices still working after hotplug
+ STEPS:
+ 1. Unplug docking station.
+ 2. Waiting 30 seconds.
+ 3. Plug in docking station.
+ VERIFICATION:
+ 1. Did the display works fine after hotplug?
+ 2. Did the storage works fine after hotplug?
+ 3. Did the audio works fine after hotplug?
+ 4. Did the network works fine after hotplug?
+
+id: dock/all-suspend
+category_id: dock
+plugin: manual
+estimated_duration: 300.00
+_description:
+ PURPOSE:
+ This test is to test devices still working after suspend
+ STEPS:
+ 1. Suspend the system.
+ 2. Waiting 30 seconds.
+ 3. Resume the system.
+ VERIFICATION:
+ 1. Did the display works fine after suspend?
+ 2. Did the storage works fine after suspend?
+ 3. Did the audio works fine after suspend?
+ 4. Did the network works fine after suspend?
+
+id: dock/all-poweroff
+category_id: dock
+plugin: manual
+estimated_duration: 300.00
+_description:
+ PURPOSE:
+ This test is to test devices still working after poweroff
+ STEPS:
+ 1. Poweroff the system.
+ 2. Waiting 30 seconds.
+ 3. Poweron the system.
+ VERIFICATION:
+ 1. Did the display works fine after poweroff?
+ 2. Did the storage works fine after poweroff?
+ 3. Did the audio works fine after poweroff?
+ 4. Did the network works fine after poweroff?
diff --git a/units/dock/test-plan.pxu b/units/dock/test-plan.pxu
index 4c906ace..f5bc1622 100644
--- a/units/dock/test-plan.pxu
+++ b/units/dock/test-plan.pxu
@@ -184,6 +184,11 @@ _description:
Test for after susepnd then undock then resume the system.
include:
dock/suspend-undock-resume
+ dock/all-initial
+ dock/all-reboot
+ dock/all-hotplug
+ dock/all-suspend
+ dock/all-poweroff
id: dock-cold-plug-cert-blockers
unit: test plan