Merge ~bettyl/plainbox-provider-checkbox:modify-bluetooth-file-transfer into plainbox-provider-checkbox:master

Proposed by Betty Lin
Status: Merged
Approved by: Jonathan Cave
Approved revision: 21a7467ec3e8aca9a7d3fae27bcae838b6f2cde8
Merged at revision: f8119c41ec8f9fa7eee504da92d48865cdd9cdc2
Proposed branch: ~bettyl/plainbox-provider-checkbox:modify-bluetooth-file-transfer
Merge into: plainbox-provider-checkbox:master
Diff against target: 37 lines (+9/-5)
2 files modified
units/bluetooth/jobs.pxu (+8/-4)
units/bluetooth/test-plan.pxu (+1/-1)
Reviewer Review Type Date Requested Status
Maciej Kisielewski Approve
Betty Lin (community) Needs Resubmitting
Pierre Equoy Approve
Review via email: mp+370350@code.launchpad.net

Commit message

Description of the change

Confirm the "bluetooth/file-transfer" shows by list-bootstrapped

u@u-Precision-5530:~$ checkbox-cli list-bootstrapped com.canonical.certification::client-cert-18-04 | grep bluetooth
com.canonical.certification::bluetooth/detect-output
com.canonical.certification::bluetooth/audio-a2dp
com.canonical.certification::bluetooth4/HOGP-mouse
com.canonical.certification::bluetooth4/HOGP-keyboard
com.canonical.certification::bluetooth/file-transfer
com.canonical.certification::led/bluetooth
com.canonical.certification::suspend/bluetooth_obex_send_before_suspend
com.canonical.certification::suspend/bluetooth_obex_browse_before_suspend
com.canonical.certification::suspend/bluetooth_obex_get_before_suspend
com.canonical.certification::bluetooth4/beacon_eddystone_url_hci0
com.canonical.certification::suspend/bluetooth_detect_after_suspend
com.canonical.certification::suspend/bluetooth_obex_send_after_suspend
com.canonical.certification::suspend/bluetooth_obex_browse_after_suspend
com.canonical.certification::suspend/bluetooth_obex_get_after_suspend
com.canonical.certification::after-suspend-manual-bluetooth4/beacon_eddystone_url_hci0
com.canonical.certification::suspend/led_after_suspend/bluetooth

To post a comment you must log in.
Revision history for this message
Pierre Equoy (pieq) wrote :

Looks good to me!

Just one minor thing: `_description:` is the old way of writing manual jobs purpose/steps/verification. Instead, it's better to use `_purpose`, `_steps` and `_verification`.

So something like

------------------------------
_description:
 PURPOSE:
     Bla bla bla
 STEPS:
     1. One
     2. Two
     3. Three
 VERIFICATION:
     Does it work?
------------------------------

Can be written:

------------------------------
_purpose:
     Bla bla bla
_steps:
     1. One
     2. Two
     3. Three
_verification:
     Does it work?
------------------------------

(not that in the second case, `_description` is gone)

review: Approve
Revision history for this message
Maciej Kisielewski (kissiel) wrote :

Missing indent will break the job. See below.

review: Needs Fixing
Revision history for this message
Betty Lin (bettyl) wrote :

@Maciej

I added the indent, thank you!

review: Needs Resubmitting
Revision history for this message
Maciej Kisielewski (kissiel) wrote :

Looks good. Thanks for all the patches! +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/units/bluetooth/jobs.pxu b/units/bluetooth/jobs.pxu
2index f40a6e0..6160e76 100644
3--- a/units/bluetooth/jobs.pxu
4+++ b/units/bluetooth/jobs.pxu
5@@ -82,11 +82,15 @@ _description:
6 PURPOSE:
7 This test will check that you can transfer information through a bluetooth connection
8 STEPS:
9- 1. Make sure that you're able to browse the files in your mobile device
10- 2. Copy a file from the computer to the mobile device
11- 3. Copy a file from the mobile device to the computer
12+ 1. Enable bluetooth on a target device (e.g. another laptop) and DUT (device under test)
13+ 2. Launch bluetooth settings from menu bar
14+ 3. Select target device from Device options for connection establishing
15+ 4. Confirm PIN code on both DUT and target device
16+ 5. Target device is connected
17+ 7. Click target device in device list
18+ 8. Click 'Send Files...' and choose a file to send in DUT
19 VERIFICATION:
20- Were all files copied correctly?
21+ Were file sent to target device ~/Downloads folder correctly?
22
23 plugin: user-interact-verify
24 category_id: com.canonical.plainbox::bluetooth
25diff --git a/units/bluetooth/test-plan.pxu b/units/bluetooth/test-plan.pxu
26index 4e48f0d..2b1819b 100644
27--- a/units/bluetooth/test-plan.pxu
28+++ b/units/bluetooth/test-plan.pxu
29@@ -17,7 +17,7 @@ include:
30 bluetooth/audio-a2dp certification-status=blocker
31 bluetooth4/HOGP-mouse certification-status=blocker
32 bluetooth4/HOGP-keyboard certification-status=blocker
33-
34+ bluetooth/file-transfer certification-status=non-blocker
35
36 id: bluetooth-cert-automated
37 unit: test plan

Subscribers

People subscribed via source and target branches