Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions tests/manual/test-procedure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,14 @@ You will need
Tests Execution
---------------

The test cases listed below always need to be run in a chrome-based browser:

- Connect and Flash over WebUSB and use REPL.
- WebUSB error modal links are working.

For a Primary Editor release run all the tests in all browsers. For a Beta
Editor release, run all tests in Internet Explorer 10, except for the
"Connect and Flash over WebUSB and use REPL" test case, which has to be run
in a Chrome-based browser.
test cases listed above that need to be run in a chrome-based browser.

Start each test case in a new instance of the Python Editor.

Expand Down Expand Up @@ -388,7 +392,7 @@ Test Case: Zoom changes the Text Editor font size

Test Case: Connect and Flash over WebUSB and use REPL
'''''''''''''''''''''''''''''''''''''''''''''''''''''
Carry out this test in Chrome or a Chrome-powered browser:
Carry out this test in Chrome or a chrome-based browser:
- [ ] Connect to micro:bit and confirm that menu now shows options to "Flash" and "Disconnect".
- [ ] Confirm you can flash the default program to the micro:bit via WebUSB and that it behaves as expected.
- [ ] "Open Serial" and confirm you can enter the REPL by click or CTRL-C.
Expand All @@ -399,7 +403,7 @@ Carry out this test in Chrome or a Chrome-powered browser:
Test Case: WebUSB not supported message is working
''''''''''''''''''''''''''''''''''''''''''''''''''
Carry out this test in non-Chrome-based browsers
- Click the 'Connect' button .
- Click the 'Connect' button.
- [ ] Confirm the WebUSB not supported message box is displayed.
- Click the 'Open Serial' button.
- [ ] Confirm the WebUSB not supported message box is displayed.
Expand All @@ -409,6 +413,20 @@ Carry out this test in non-Chrome-based browsers
- [ ] Confirm the modal closes.


Test Case: WebUSB error modal links are working
'''''''''''''''''''''''''''''''''''''''''''''''
Carry out this test in Chrome or a chrome-based browser:
- Click the 'Connect' button.
- Click 'Cancel' button in the WebUSB device selection window that opens.
- Click the 'Download Hex' link in the modal that opens.
- [ ] Confirm a hex file with the name 'microbit_program.hex' is downloaded.
- Click the 'Troubleshoot' link.
- [ ] Confirm that https://support.microbit.org/support/solutions/articles/19000105428-webusb-troubleshooting is opened in a new tab.
- Close the troubleshooting tab.
- Click the 'Close' link.
- [ ] Confirm the modal closes.


Test Case: Autocomplete
'''''''''''''''''''''''
- [ ] Start typing in the editor and confirm that autocomplete offers suggestions
Expand Down