Skip to content

Commit 30f704a

Browse files
manual tests: Indicate WebUSB test cases have to be run with a micro:bit V1 & a V2.
1 parent d054441 commit 30f704a

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

tests/manual/test-procedure.rst

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ You will need
8888

8989
- The test files from `./test-files/`
9090

91-
- A micro:bit
91+
- A micro:bit V1
92+
93+
- A micro:bit V2
9294

9395
- One from the following:
9496

@@ -253,14 +255,18 @@ Code block 8::
253255

254256
Test Case: module.py file can be loaded by modal file picker and used in main.py
255257
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
258+
Run this test case with a micro:bit **V1**.
259+
256260
- Load by "Load/Save > Or browse for a file" the file ``emoji.py``
257261
- [ ] Confirm the modal dialogue displays 'The "emoji" module has been added
258262
to the filesystem.'
259263
- Click "Show Files (2)"
260264
- [ ] Confirm the file shows up in the files list with the same title.
261265
- Return to the editor and replace the current script with "Code block 9".
262-
- [ ] Program by any method this file to the micro:bit and confirm that it
263-
behaves as expected, showing emojis for the appropriate gestures and buttons.
266+
- [ ] Click the "Download" button, copy the hex file via OS drag&drop it into
267+
the MICROBIT, confirm it flashes successfully.
268+
- [ ] Confirm that the programme behaves as expected, showing emojis for the
269+
appropriate gestures and buttons.
264270

265271
Code block 9::
266272

@@ -283,8 +289,15 @@ Code block 9::
283289

284290
Test Case: module.py file can be loaded by filesystem file picker
285291
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
292+
Run this test case with a micro:bit **V2**.
293+
286294
- Load by "Load/Save > Show Files > Add file" the file ``emoji.py``
287295
- [ ] Confirm the file shows up in the files list with the same title.
296+
- Return to the editor and replace the current script with "Code block 9".
297+
- [ ] Click the "Download" button, copy the hex file via OS drag&drop it into
298+
the MICROBIT, confirm it flashes successfully.
299+
- [ ] Confirm that the programme behaves as expected, showing emojis for the
300+
appropriate gestures and buttons.
288301

289302

290303
Test Case: module.py file can be 'magically' loaded into the editor by drag&drop
@@ -381,7 +394,8 @@ Test Case: Language options work
381394

382395
Test Case: Connect and Flash over WebUSB and use REPL
383396
'''''''''''''''''''''''''''''''''''''''''''''''''''''
384-
Carry out this test in Chrome or a chrome-based browser:
397+
Carry out this test in Chrome or a chrome-based browser.
398+
Run this test case twice, once with a micro:bit V1 and once with a V2.
385399

386400
- [ ] Connect to micro:bit and confirm that menu now shows options to
387401
"Flash" and "Disconnect".
@@ -395,7 +409,8 @@ Carry out this test in Chrome or a chrome-based browser:
395409
Test Case: Full Flash over WebUSB
396410
'''''''''''''''''''''''''''''''''
397411
This feature will only be available in the beta versions.
398-
Carry out this test in Chrome or a chrome-based browser:
412+
Carry out this test in Chrome or a chrome-based browser.
413+
Run this test case twice, once with a micro:bit V1 and once with a V2.
399414

400415
- Click the 'Beta Options' button.
401416
- Click the 'Quick Flash' toggle to disable it.

0 commit comments

Comments
 (0)