summaryrefslogtreecommitdiff
path: root/units/peripheral
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2017-09-18 20:56:16 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2017-09-18 20:56:16 +0200
commit06ebc0457992bddfca74c3decc554d70ffdd310d (patch)
treeddc2038690c7e0bbd7146b3375681b919e91ab95 /units/peripheral
parenta2cbc59e55ed21f755f45a5db2df5695a2220315 (diff)
Move all jobs definition files into pxu units
Diffstat (limited to 'units/peripheral')
-rw-r--r--units/peripheral/jobs.pxu42
1 files changed, 42 insertions, 0 deletions
diff --git a/units/peripheral/jobs.pxu b/units/peripheral/jobs.pxu
new file mode 100644
index 00000000..95992edd
--- /dev/null
+++ b/units/peripheral/jobs.pxu
@@ -0,0 +1,42 @@
+plugin: manual
+category_id: com.canonical.plainbox::peripheral
+id: peripheral/printer
+_description:
+ PURPOSE:
+ This test will verify that a network printer is usable
+ STEPS:
+ 1. Make sure that a printer is available in your network
+ 2. Click on the Gear icon in the upper right corner and then click on Printers
+ 3. If the printer isn't already listed, click on Add
+ 4. The printer should be detected and proper configuration values should be displayed
+ 5. Print a test page
+ VERIFICATION:
+ Were you able to print a test page to the network printer?
+
+plugin: user-interact-verify
+category_id: com.canonical.plainbox::peripheral
+id: peripheral/external-usb-modem
+command: network_check
+_description:
+ PURPOSE:
+ This test will verify that a USB DSL or Mobile Broadband modem works
+ STEPS:
+ 1. Connect the USB cable to the computer
+ 2. Right click on the Network icon in the panel
+ 3. Select 'Edit Connections'
+ 4. Select the 'DSL' (for ADSL modem) or 'Mobile Broadband' (for 3G modem) tab
+ 5. Click on 'Add' button
+ 6. Configure the connection parameters properly
+ 7. Notify OSD should confirm that the connection has been established
+ 8. Select Test to verify that it's possible to establish an HTTP connection
+ VERIFICATION:
+ Was the connection correctly established?
+
+plugin: shell
+category_id: com.canonical.plainbox::peripheral
+id: peripheral/external-usb-modem-http
+depends: peripheral/external-usb-modem
+command: wget -SO /dev/null http://$TRANSFER_SERVER
+_description:
+ Automated test case to make sure that it's possible to download files through HTTP
+