@@ -22,7 +22,7 @@ the latest official release, and the latest beta release.
22
22
| V2.2x | 0257 | nRF52833/820 | Factory & latest official release |
23
23
| V2.2x | 0258-beta | nRF52833/820 | Latest beta release |
24
24
25
- ### Test browsers, apps & Operating Systems
25
+ ### Test browsers, apps & operating systems
26
26
27
27
Each WebUSB test should be carried out with the latest version of these
28
28
Chrome-based browsers and operating systems:
@@ -47,13 +47,13 @@ Chrome-based browsers and operating systems:
47
47
48
48
The following tests should be carried out with all combinations of the
49
49
micro: bit boards, DAPLink versions, and browsers/apps listed in the
50
- "Test Matrix " section.
50
+ "Test matrix " section.
51
51
52
52
As these tests can be repeated multiple times in the same browser/app with
53
53
different micro: bit boards, when a test step indicates to create a new project,
54
54
it is acceptable to use an existing project created in a previous test run.
55
55
56
- ### Test 1: WebUSB Download
56
+ ### Test 1: WebUSB full flash, partial flash, and serial
57
57
58
58
1 . Connect the micro: bit to the computer via USB.
59
59
2 . Open the micro: bit MakeCode editor under test in a Chrome-based browser.
@@ -65,35 +65,26 @@ it is acceptable to use an existing project created in a previous test run.
65
65
6 . Follow the connection instructions to connect the micro: bit via WebUSB and
66
66
download the programme.
67
67
7 . Verify that the programme runs on the micro: bit .
68
- 8 . Change the code to display a different icon on the LED matrix.
69
- 9 . Click the "Download" button again.
70
- 10 . No connection instructions should be show this time and the programme
71
- should be downloaded directly to the micro: bit in a shorter amount of time.
72
- 11 . Verify the new programme runs on the micro: bit with the new icon.
73
-
74
- ### Test 2: WebUSB Serial
75
-
76
- 1 . Connect the micro: bit to the computer via USB.
77
- 2 . Open the micro: bit MakeCode editor under test in a Chrome-based browser.
78
- 3 . Create a new project and add this code
68
+ 8 . Change the code to this one:
79
69
``` javascript
80
70
basic .forever (function () {
81
71
serial .writeLine (" hello" )
82
72
basic .pause (1000 )
83
73
})
84
74
```
85
- 5. Click the " Download" button.
86
- 6. Follow the connection instructions to connect the micro: bit via WebUSB and
87
- download the programme.
88
- 7. Click on " Show Data Device" button to open the serial console .
89
- 8. Verify that the serial console shows " hello" every second.
75
+ 9. Click the " Download" button again.
76
+ 10. No connection instructions should be shown this time and the programme
77
+ should be downloaded directly to the micro: bit in a shorter amount of time.
78
+ 11. A " Show Data Device" button should appear, click it to open the serial
79
+ console .
80
+ 12. Verify that the serial console shows " hello" every second.
90
81
91
82
## Tests on specific variations
92
83
93
- This test should only be carried out with the configuration listed at the
84
+ These tests should only be carried out with the configuration listed at the
94
85
beginning of each test.
95
86
96
- ### Test 3 : WebUSB with incompatible DAPLink
87
+ ### Test 2 : WebUSB with incompatible DAPLink
97
88
98
89
The following DAPLink versions are not expected to work with WebUSB, and
99
90
this test is to ensure an error message suggesting a firmware update is shown.
@@ -114,7 +105,7 @@ This test should be carried out with the following DAPLink versions:
114
105
7. Verify that an error message is shown suggesting a firmware update is
115
106
required.
116
107
117
- ### Test 4 : WebUSB within micro: bit classroom
108
+ ### Test 3 : WebUSB within micro: bit Classroom
118
109
119
110
This test can be executed only once, using any micro: bit board with any
120
111
DAPLink WebUSB compatible version, using Chrome on Windows.
@@ -133,7 +124,7 @@ the MakeCode editor being embedded in classroom.
133
124
download the programme.
134
125
8. Verify that the programme runs on the micro: bit.
135
126
136
- ### Test 5 : WebUSB within micro: bit CreateAI
127
+ ### Test 4 : WebUSB within micro: bit CreateAI
137
128
138
129
This test can be executed only once, using any micro: bit board with any
139
130
DAPLink WebUSB compatible version, using Chrome on Windows.
0 commit comments