From 0ff51ae132dce0d14aa19763489cb85f47d70b6f Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Wed, 17 Jan 2018 15:18:24 +0000 Subject: led: import jobs/testplan/category from p-p-snappy --- units/led/category.pxu | 3 +++ units/led/jobs.pxu | 14 ++++++++++++++ units/led/test-plan.pxu | 18 ++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 units/led/category.pxu diff --git a/units/led/category.pxu b/units/led/category.pxu new file mode 100644 index 0000000..416a85b --- /dev/null +++ b/units/led/category.pxu @@ -0,0 +1,3 @@ +unit: category +id: led +_name: LEDs diff --git a/units/led/jobs.pxu b/units/led/jobs.pxu index 17ce655..ec69f93 100644 --- a/units/led/jobs.pxu +++ b/units/led/jobs.pxu @@ -247,3 +247,17 @@ _description: determine if it either turned off and on or changed colors. VERIFICATION: Did the Microphone Mute LED turn on and off or change color as expected? + +id: led/serial +_summary: Serial ports LED behavior +_purpose: + Check serial ports LED behavior is correct +_steps: + 1. Start the test to send data to all serial ports (/dev/ttyS*) +_verification: + All serial ports LED are on for a few seconds (3-4s) +plugin: user-interact-verify +command: echo {0..1024} | tee /dev/ttyS{0..100} &> /dev/null +user: root +category_id: led +estimated_duration: 15 diff --git a/units/led/test-plan.pxu b/units/led/test-plan.pxu index 4f59af9..94146f2 100644 --- a/units/led/test-plan.pxu +++ b/units/led/test-plan.pxu @@ -28,3 +28,21 @@ include: suspend/led_after_suspend/caps-lock suspend/led_after_suspend/power suspend/led_after_suspend/touchpad + +id: led-full +unit: test plan +_name: Led tests +_description: QA LED tests for IoT devices +include: +nested_part: + led-manual + +id: led-manual +unit: test plan +_name: Manual LED tests +_description: Manual LED tests for IoT devices +include: + led/power + led/power-blink-suspend + led/bluetooth + led/serial -- cgit v1.2.3 From 30c4f1e24e3073cb56d1394c654f4e13619c626c Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Wed, 17 Jan 2018 15:20:09 +0000 Subject: led: make all jobs use category in checkbox namespace --- units/led/jobs.pxu | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/units/led/jobs.pxu b/units/led/jobs.pxu index ec69f93..15d3065 100644 --- a/units/led/jobs.pxu +++ b/units/led/jobs.pxu @@ -7,7 +7,7 @@ _steps: _verification: Power led is on when system is powered on plugin: manual -category_id: com.canonical.plainbox::led +category_id: led estimated_duration: 15.0 id: led/power-blink-suspend @@ -20,11 +20,11 @@ _steps: _verification: Power led is blinking when system is in suspend plugin: manual -category_id: com.canonical.plainbox::led +category_id: led estimated_duration: 180 plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/suspend estimated_duration: 30.0 depends: suspend/suspend_advanced @@ -39,7 +39,7 @@ _description: Did the Suspend LED blink or change color while the system was suspended? plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/battery-charging estimated_duration: 120.0 _description: @@ -52,7 +52,7 @@ _description: Did the battery indicator LED turn orange? plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/battery-charged estimated_duration: 240.0 _description: @@ -66,7 +66,7 @@ _description: Does the orange battery LED shut off when system is fully charged? plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/battery-low estimated_duration: 30.0 _description: @@ -79,7 +79,7 @@ _description: Does the LED light orange when battery is low? plugin: user-interact-verify -category_id: com.canonical.plainbox::led +category_id: led id: led/hdd estimated_duration: 30.0 command: led_hdd_test @@ -93,7 +93,7 @@ _description: Did the HDD LED light? plugin: user-interact-verify -category_id: com.canonical.plainbox::led +category_id: led id: led/numeric-keypad estimated_duration: 30.0 command: keyboard_test @@ -109,7 +109,7 @@ _description: 2. Numbers should only be entered in the keyboard verification window when the LED is on plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/caps-lock estimated_duration: 30.0 _description: @@ -122,7 +122,7 @@ _description: Did the Cap Keys LED light as expected? plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/wlan depends: keys/wireless estimated_duration: 60.0 @@ -137,7 +137,7 @@ _description: Did the WLAN LED turn on or change color as expected? plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/wlan-disabled estimated_duration: 30.0 depends: keys/wireless @@ -168,11 +168,11 @@ _steps: _verification: Bluetooth LED is turned on in step 2, and turned off in step 3. plugin: manual -category_id: com.canonical.plainbox::led +category_id: led estimated_duration: 180 plugin: user-interact-verify -category_id: com.canonical.plainbox::led +category_id: led id: led/camera estimated_duration: 20.0 depends: camera/detect @@ -187,7 +187,7 @@ _description: Did the camera LED light? plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/touchpad estimated_duration: 30.0 _description: @@ -202,7 +202,7 @@ _description: 3. When the LED is off, the mouse pointer should not move on touchpad usage plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/wireless estimated_duration: 120.0 _description: @@ -219,7 +219,7 @@ _description: Did the WLAN/Bluetooth LED light as expected? plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/mute depends: keys/mute estimated_duration: 30.0 @@ -234,7 +234,7 @@ _description: Did the Audio LED turn on and off or change color as expected? plugin: manual -category_id: com.canonical.plainbox::led +category_id: led id: led/microphone-mute estimated_duration: 30.0 depends: keys/microphone-mute -- cgit v1.2.3 From 1ffee078e8babd2fecb6c072dccbbfbc7576b9b2 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Mon, 22 Jan 2018 16:29:22 +0000 Subject: led: tidy category and test plan naming --- units/led/category.pxu | 2 +- units/led/test-plan.pxu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/units/led/category.pxu b/units/led/category.pxu index 416a85b..9f72d20 100644 --- a/units/led/category.pxu +++ b/units/led/category.pxu @@ -1,3 +1,3 @@ unit: category id: led -_name: LEDs +_name: LED tests diff --git a/units/led/test-plan.pxu b/units/led/test-plan.pxu index 94146f2..f43a3ca 100644 --- a/units/led/test-plan.pxu +++ b/units/led/test-plan.pxu @@ -31,7 +31,7 @@ include: id: led-full unit: test plan -_name: Led tests +_name: LED tests _description: QA LED tests for IoT devices include: nested_part: -- cgit v1.2.3