@@ -99,10 +99,14 @@ You will need
99
99
Tests Execution
100
100
---------------
101
101
102
+ The test cases listed below always need to be run in a chrome-based browser:
103
+
104
+ - Connect and Flash over WebUSB and use REPL.
105
+ - WebUSB error modal links are working.
106
+
102
107
For a Primary Editor release run all the tests in all browsers. For a Beta
103
108
Editor release, run all tests in Internet Explorer 10, except for the
104
- "Connect and Flash over WebUSB and use REPL" test case, which has to be run
105
- in a Chrome-based browser.
109
+ test cases listed above that need to be run in a chrome-based browser.
106
110
107
111
Start each test case in a new instance of the Python Editor.
108
112
@@ -388,7 +392,7 @@ Test Case: Zoom changes the Text Editor font size
388
392
389
393
Test Case: Connect and Flash over WebUSB and use REPL
390
394
'''''''''''''''''''''''''''''''''''''''''''''''''''''
391
- Carry out this test in Chrome or a Chrome-powered browser:
395
+ Carry out this test in Chrome or a chrome-based browser:
392
396
- [ ] Connect to micro:bit and confirm that menu now shows options to "Flash" and "Disconnect".
393
397
- [ ] Confirm you can flash the default program to the micro:bit via WebUSB and that it behaves as expected.
394
398
- [ ] "Open Serial" and confirm you can enter the REPL by click or CTRL-C.
@@ -399,7 +403,7 @@ Carry out this test in Chrome or a Chrome-powered browser:
399
403
Test Case: WebUSB not supported message is working
400
404
''''''''''''''''''''''''''''''''''''''''''''''''''
401
405
Carry out this test in non-Chrome-based browsers
402
- - Click the 'Connect' button .
406
+ - Click the 'Connect' button.
403
407
- [ ] Confirm the WebUSB not supported message box is displayed.
404
408
- Click the 'Open Serial' button.
405
409
- [ ] Confirm the WebUSB not supported message box is displayed.
@@ -409,6 +413,20 @@ Carry out this test in non-Chrome-based browsers
409
413
- [ ] Confirm the modal closes.
410
414
411
415
416
+ Test Case: WebUSB error modal links are working
417
+ '''''''''''''''''''''''''''''''''''''''''''''''
418
+ Carry out this test in Chrome or a chrome-based browser:
419
+ - Click the 'Connect' button.
420
+ - Click 'Cancel' button in the WebUSB device selection window that opens.
421
+ - Click the 'Download Hex' link in the modal that opens.
422
+ - [ ] Confirm a hex file with the name 'microbit_program.hex' is downloaded.
423
+ - Click the 'Troubleshoot' link.
424
+ - [ ] Confirm that https://support.microbit.org/support/solutions/articles/19000105428-webusb-troubleshooting is opened in a new tab.
425
+ - Close the troubleshooting tab.
426
+ - Click the 'Close' link.
427
+ - [ ] Confirm the modal closes.
428
+
429
+
412
430
Test Case: Autocomplete
413
431
'''''''''''''''''''''''
414
432
- [ ] Start typing in the editor and confirm that autocomplete offers suggestions
0 commit comments