@@ -46,24 +46,33 @@ The following tests should be carried out with all combinations of the
46
46
micro: bit boards, DAPLink versions, and browsers/apps listed in the
47
47
"Test Matrix" section.
48
48
49
+ As these tests can be repeated multiple times in the same computer with
50
+ different micro: bit boards, when a test step indicates to create a new project,
51
+ it is acceptable to use an existing project created in a previous test run.
52
+
49
53
### Test 1: WebUSB Download
50
54
51
55
1 . Connect the micro: bit to the computer via USB.
52
56
2 . Open the micro: bit MakeCode editor under test in a Chrome-based browser.
53
- 3 . Create a new project.
54
- 4 . Add a block to the project (e.g. something simple to display on the LED
55
- matrix).
57
+ 3 . Create a new project, and add a block to display an icon on the LED matrix.
58
+ 4 . If the micro: bit was automatically connected via WebUSB, disconnect it from
59
+ the editor by clicking on the "Disconnect" button in "Download" menu
60
+ (three dots icon at the right of the "Download" button).
56
61
5 . Click the "Download" button.
57
62
6 . Follow the connection instructions to connect the micro: bit via WebUSB and
58
63
download the programme.
59
64
7 . Verify that the programme runs on the micro: bit .
65
+ 8 . Change the code to display a different icon on the LED matrix.
66
+ 9 . Click the "Download" button again.
67
+ 10 . No connection instructions should be show this time and the programme
68
+ should be downloaded directly to the micro: bit in a shorter amount of time.
69
+ 11 . Verify the new programme runs on the micro: bit with the new icon.
60
70
61
71
### Test 2: WebUSB Serial
62
72
63
73
1 . Connect the micro: bit to the computer via USB.
64
74
2 . Open the micro: bit MakeCode editor under test in a Chrome-based browser.
65
- 3 . Create a new project.
66
- 4 . Add this code
75
+ 3 . Create a new project and add this code
67
76
``` javascript
68
77
basic .forever (function () {
69
78
serial .writeLine (" hello" )
0 commit comments