@@ -24,14 +24,13 @@ Nomenclature and Definitions
24
24
a file from the user OS, to the Text Editor area.
25
25
26
26
- **Load by drop area drag&drop **: Load a file into the Python Editor by
27
- clicking on the "Load button" and then dragging a file from the user OS to
27
+ clicking on the "Load/Save button" and then dragging a file from the user OS to
28
28
the large grey box that says "Drag and drop a .hex or .py file in here to
29
29
open it".
30
30
31
31
- **Load by file picker **: Load a file into the Python Editor by clicking on
32
- the "Load button", then clicking on the "Or pick a file" link, then clicking
33
- on the "Browse" button, selecting a file in the browser file picker, and
34
- finally clicking on the "Load" button.
32
+ the "Load/Save button", then clicking on the "Or Browse for a file" button, selecting a
33
+ file in the browser file picker, and finally clicking on the "Open" button.
35
34
36
35
- **Load by any method **: Load a file into the Python Editor using either
37
36
of the three options: "Load by editor drag&drop", "Load by drop area
@@ -180,7 +179,8 @@ Code block 1::
180
179
181
180
Test Case: Python file can be saved
182
181
'''''''''''''''''''''''''''''''''''
183
- - Click the "Save" button.
182
+ - Click the "Load/Save" button.
183
+ - Click the "Download Python Script" button.
184
184
- [ ] Confirm the file downloaded is named "microbit_program.py".
185
185
- Open the contents in a text editor from your operating system.
186
186
- [ ] Confirm the file contains the exact contents defined in the "Code block
@@ -253,6 +253,7 @@ Code block 1::
253
253
Test Case: module.py file can be loaded by file picker and used in main.py
254
254
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
255
255
- Load by Load/Save > Add file the file ``emoji.py ``
256
+ - [ ] Confirm the modal dialogue displays 'The "emoji" module has been added to the filesystem.'
256
257
- [ ] Confirm the file shows up in the files list with the same title.
257
258
- Return to the editor and replace the current script with the following::
258
259
@@ -280,6 +281,7 @@ Test Case: module.py file can be 'magically' loaded into the editor by drag&drop
280
281
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
281
282
- Load by drag&drop into the editor the file ``emoji.py ``
282
283
- [ ] Confirm the modal dialogue displays 'The "emoji" module has been added to the filesystem.'
284
+ - [ ] Confirm the file shows up in the files list with the same title.
283
285
- Return to the editor and replace the current script with the following::
284
286
285
287
@@ -336,8 +338,9 @@ Test Case: Hex file containing module can be loaded in the editor
336
338
- [ ] In the Load/Save modal, confirm the editor has loaded the
337
339
``emoji-example.py (main.py) `` and ``emoji.py `` files.
338
340
- [ ] Confirm that each .py file can be downloaded individually.
339
- - [ ] Confirm that the emoji.py file can be deleted, then program the file by any method.
340
- to the micro:bit and confirm that an exception is thrown.
341
+ - [ ] Confirm that the emoji.py file can be deleted.
342
+ - Program the project by any method to the micro:bit.
343
+ - [ ] Confirm that an exception is thrown in the micro:bit.
341
344
342
345
343
346
Test Case: Empty script downloads MicroPython interpreter only
@@ -367,7 +370,7 @@ Code block 1::
367
370
Test Case: Help menu expands and links work
368
371
'''''''''''''''''''''''''''''''''''''''''''
369
372
- Click the "Help" button.
370
- - [ ] Confirm additional info and links are shown on the Python Editor .
373
+ - [ ] Confirm help drop down menu appears .
371
374
- [ ] Confirm the correct "Editor Version" is displayed.
372
375
- [ ] Confirm the correct "MicroPython Version" is displayed.
373
376
- Click on the "Documentation" link.
@@ -389,12 +392,15 @@ Test Case: Zoom changes the Text Editor font size
389
392
- Click the button with a magnifying lens and a ``- `` sign.
390
393
- [ ] Confirm the font in the Text Editor has been decreased.
391
394
395
+
392
396
Test Case: Language options work
393
397
''''''''''''''''''''''''''''''''
394
398
- Confirm that selecting each language option changes it to the corresponding language
395
- - [ ] English
396
399
- [ ] Spanish
397
400
- [ ] Polish
401
+ - [ ] Croatian
402
+ - [ ] English
403
+
398
404
399
405
Test Case: Connect and Flash over WebUSB and use REPL
400
406
'''''''''''''''''''''''''''''''''''''''''''''''''''''
@@ -411,12 +417,12 @@ Test Case: WebUSB not supported message is working
411
417
Carry out this test in non-Chrome-based browsers
412
418
- Click the 'Connect' button.
413
419
- [ ] Confirm the WebUSB not supported message box is displayed.
420
+ - Click outside the modal.
421
+ - [ ] Confirm the modal closes.
414
422
- Click the 'Open Serial' button.
415
423
- [ ] Confirm the WebUSB not supported message box is displayed.
416
424
- Click the 'Find Out More' link.
417
425
- [ ] Confirm the help.html page is opened on the WebUSB section.
418
- - Click outside the modal.
419
- - [ ] Confirm the modal closes.
420
426
421
427
422
428
Test Case: WebUSB error modal links are working
@@ -439,6 +445,7 @@ Test Case: Autocomplete
439
445
eg type 'di' and be offered 'display'.
440
446
- [ ] Disable autocomplete in "Options" and confirm that autocomplete no longer offers suggestions.
441
447
448
+
442
449
Test results
443
450
------------
444
451
0 commit comments