Skip to content

Commit 6aca519

Browse files
microbit-josephinemicrobit-carlos
authored andcommitted
Tests: Update manual test procedure for v2 features (#296)
1 parent c1e55fd commit 6aca519

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

tests/manual/test-procedure.rst

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,13 @@ Nomenclature and Definitions
2424
a file from the user OS, to the Text Editor area.
2525

2626
- **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
2828
the large grey box that says "Drag and drop a .hex or .py file in here to
2929
open it".
3030

3131
- **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.
3534

3635
- **Load by any method**: Load a file into the Python Editor using either
3736
of the three options: "Load by editor drag&drop", "Load by drop area
@@ -180,7 +179,8 @@ Code block 1::
180179

181180
Test Case: Python file can be saved
182181
'''''''''''''''''''''''''''''''''''
183-
- Click the "Save" button.
182+
- Click the "Load/Save" button.
183+
- Click the "Download Python Script" button.
184184
- [ ] Confirm the file downloaded is named "microbit_program.py".
185185
- Open the contents in a text editor from your operating system.
186186
- [ ] Confirm the file contains the exact contents defined in the "Code block
@@ -253,6 +253,7 @@ Code block 1::
253253
Test Case: module.py file can be loaded by file picker and used in main.py
254254
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
255255
- 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.'
256257
- [ ] Confirm the file shows up in the files list with the same title.
257258
- Return to the editor and replace the current script with the following::
258259

@@ -280,6 +281,7 @@ Test Case: module.py file can be 'magically' loaded into the editor by drag&drop
280281
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
281282
- Load by drag&drop into the editor the file ``emoji.py``
282283
- [ ] 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.
283285
- Return to the editor and replace the current script with the following::
284286

285287

@@ -336,8 +338,9 @@ Test Case: Hex file containing module can be loaded in the editor
336338
- [ ] In the Load/Save modal, confirm the editor has loaded the
337339
``emoji-example.py (main.py)`` and ``emoji.py`` files.
338340
- [ ] 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.
341344

342345

343346
Test Case: Empty script downloads MicroPython interpreter only
@@ -367,7 +370,7 @@ Code block 1::
367370
Test Case: Help menu expands and links work
368371
'''''''''''''''''''''''''''''''''''''''''''
369372
- Click the "Help" button.
370-
- [ ] Confirm additional info and links are shown on the Python Editor.
373+
- [ ] Confirm help drop down menu appears.
371374
- [ ] Confirm the correct "Editor Version" is displayed.
372375
- [ ] Confirm the correct "MicroPython Version" is displayed.
373376
- Click on the "Documentation" link.
@@ -389,12 +392,15 @@ Test Case: Zoom changes the Text Editor font size
389392
- Click the button with a magnifying lens and a ``-`` sign.
390393
- [ ] Confirm the font in the Text Editor has been decreased.
391394

395+
392396
Test Case: Language options work
393397
''''''''''''''''''''''''''''''''
394398
- Confirm that selecting each language option changes it to the corresponding language
395-
- [ ] English
396399
- [ ] Spanish
397400
- [ ] Polish
401+
- [ ] Croatian
402+
- [ ] English
403+
398404

399405
Test Case: Connect and Flash over WebUSB and use REPL
400406
'''''''''''''''''''''''''''''''''''''''''''''''''''''
@@ -411,12 +417,12 @@ Test Case: WebUSB not supported message is working
411417
Carry out this test in non-Chrome-based browsers
412418
- Click the 'Connect' button.
413419
- [ ] Confirm the WebUSB not supported message box is displayed.
420+
- Click outside the modal.
421+
- [ ] Confirm the modal closes.
414422
- Click the 'Open Serial' button.
415423
- [ ] Confirm the WebUSB not supported message box is displayed.
416424
- Click the 'Find Out More' link.
417425
- [ ] Confirm the help.html page is opened on the WebUSB section.
418-
- Click outside the modal.
419-
- [ ] Confirm the modal closes.
420426

421427

422428
Test Case: WebUSB error modal links are working
@@ -439,6 +445,7 @@ Test Case: Autocomplete
439445
eg type 'di' and be offered 'display'.
440446
- [ ] Disable autocomplete in "Options" and confirm that autocomplete no longer offers suggestions.
441447

448+
442449
Test results
443450
------------
444451

0 commit comments

Comments
 (0)